Class AsyncExceptionMappingUtil
java.lang.Object
org.jboss.resteasy.reactive.server.exceptionmappers.AsyncExceptionMappingUtil
This class is used by the exception mappers that are generated as a result of the use of
ServerExceptionMapper
with a Uni
response type.
See io.quarkus.resteasy.reactive.server.deployment.ServerExceptionMapperGenerator
-
Field Summary
Modifier and TypeFieldDescriptionstatic final jakarta.ws.rs.core.Response
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
handleUniResponse
(io.smallrye.mutiny.Uni<jakarta.ws.rs.core.Response> asyncResponse, AsyncExceptionMapperContext context) static void
handleUniRestResponse
(io.smallrye.mutiny.Uni<? extends RestResponse<?>> asyncResponse, AsyncExceptionMapperContext context)
-
Field Details
-
DEFAULT_UNAUTHORIZED_RESPONSE
public static final jakarta.ws.rs.core.Response DEFAULT_UNAUTHORIZED_RESPONSE
-
-
Method Details
-
handleUniResponse
public static void handleUniResponse(io.smallrye.mutiny.Uni<jakarta.ws.rs.core.Response> asyncResponse, AsyncExceptionMapperContext context) -
handleUniRestResponse
public static void handleUniRestResponse(io.smallrye.mutiny.Uni<? extends RestResponse<?>> asyncResponse, AsyncExceptionMapperContext context)
-