Package org.glassfish.jersey.server.spi
Interface ResponseErrorMapper
-
@Contract @ConstrainedTo(SERVER) public interface ResponseErrorMapper
Contract for a provider that maps response processing errors toResponse.Providers implementing
ResponseErrorMappercontract must be either programmatically registered in a JAX-RS runtime or must be annotated with@Providerannotation to be automatically discovered by the JAX-RS runtime during a provider scanning phase.ServerProperties.PROCESSING_RESPONSE_ERRORS_ENABLEDproperty has to be enabled in order to use this contract.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponsetoResponse(Throwable throwable)
-