Class AsyncExceptionMappingUtil
- java.lang.Object
-
- org.jboss.resteasy.reactive.server.exceptionmappers.AsyncExceptionMappingUtil
-
public final class AsyncExceptionMappingUtil extends Object
This class is used by the exception mappers that are generated as a result of the use ofServerExceptionMapper
with aUni
response type. Seeio.quarkus.resteasy.reactive.server.deployment.ServerExceptionMapperGenerator
-
-
Field Summary
Fields Modifier and Type Field Description static javax.ws.rs.core.Response
DEFAULT_UNAUTHORIZED_RESPONSE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
handleUniResponse(io.smallrye.mutiny.Uni<javax.ws.rs.core.Response> asyncResponse, AsyncExceptionMapperContext context)
static void
handleUniRestResponse(io.smallrye.mutiny.Uni<? extends RestResponse<?>> asyncResponse, AsyncExceptionMapperContext context)
-
-
-
Method Detail
-
handleUniResponse
public static void handleUniResponse(io.smallrye.mutiny.Uni<javax.ws.rs.core.Response> asyncResponse, AsyncExceptionMapperContext context)
-
handleUniRestResponse
public static void handleUniRestResponse(io.smallrye.mutiny.Uni<? extends RestResponse<?>> asyncResponse, AsyncExceptionMapperContext context)
-
-