public final class RejectionHandler
extends java.lang.Object
| Constructor and Description | 
|---|
| RejectionHandler(RejectionHandler asScala) | 
| Modifier and Type | Method and Description | 
|---|---|
| RejectionHandler | asScala() | 
| static RejectionHandler | defaultHandler() | 
| RejectionHandler | mapRejectionResponse(java.util.function.UnaryOperator<HttpResponse> map)Map any HTTP response which was returned by this RejectionHandler to a different one before rendering it. | 
| static RejectionHandlerBuilder | newBuilder()Creates a new  RejectionHandlerbuilder. | 
| RejectionHandler | seal()"Seals" this handler by attaching a default handler as fallback if necessary. | 
| RejectionHandler | withFallback(RejectionHandler fallback)Creates a new  RejectionHandlerwhich uses the given one as fallback for this one. | 
public RejectionHandler(RejectionHandler asScala)
public static RejectionHandlerBuilder newBuilder()
RejectionHandler builder.public static RejectionHandler defaultHandler()
public RejectionHandler asScala()
public RejectionHandler withFallback(RejectionHandler fallback)
RejectionHandler which uses the given one as fallback for this one.fallback - (undocumented)public RejectionHandler seal()
public RejectionHandler mapRejectionResponse(java.util.function.UnaryOperator<HttpResponse> map)