Class RejectionHandler
java.lang.Object
org.apache.pekko.http.javadsl.server.RejectionHandler
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionasScala()static RejectionHandlerMap any HTTP response which was returned by this RejectionHandler to a different one before rendering it.static RejectionHandlerBuilderCreates a newRejectionHandlerbuilder.seal()"Seals" this handler by attaching a default handler as fallback if necessary.withFallback(RejectionHandler fallback) Creates a newRejectionHandlerwhich uses the given one as fallback for this one.
- 
Constructor Details- 
RejectionHandler
 
- 
- 
Method Details- 
newBuilderCreates a newRejectionHandlerbuilder.- Returns:
- (undocumented)
 
- 
defaultHandler
- 
asScala
- 
withFallbackCreates a newRejectionHandlerwhich uses the given one as fallback for this one.- Parameters:
- fallback- (undocumented)
- Returns:
- (undocumented)
 
- 
seal"Seals" this handler by attaching a default handler as fallback if necessary.- Returns:
- (undocumented)
 
- 
mapRejectionResponseMap any HTTP response which was returned by this RejectionHandler to a different one before rendering it.
 
-