Package akka.http.javadsl.server
Class RejectionHandler
java.lang.Object
akka.http.javadsl.server.RejectionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasScala()
static RejectionHandler
Map any HTTP response which was returned by this RejectionHandler to a different one before rendering it.static RejectionHandlerBuilder
Creates a newRejectionHandler
builder.seal()
"Seals" this handler by attaching a default handler as fallback if necessary.withFallback
(RejectionHandler fallback) Creates a newRejectionHandler
which uses the given one as fallback for this one.
-
Constructor Details
-
RejectionHandler
-
-
Method Details
-
newBuilder
Creates a newRejectionHandler
builder.- Returns:
- (undocumented)
-
defaultHandler
-
asScala
-
withFallback
Creates a newRejectionHandler
which 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)
-
mapRejectionResponse
Map any HTTP response which was returned by this RejectionHandler to a different one before rendering it.
-