public abstract class ExecutionDirectives extends DebuggingDirectives
Constructor and Description |
---|
ExecutionDirectives() |
Modifier and Type | Method and Description |
---|---|
RouteAdapter |
handleExceptions(ExceptionHandler handler,
java.util.function.Supplier<Route> inner)
Transforms exceptions thrown during evaluation of its inner route using the given
pekko.http.javadsl.server.ExceptionHandler . |
RouteAdapter |
handleRejections(RejectionHandler handler,
java.util.function.Supplier<Route> inner)
Transforms rejections produced by its inner route using the given
pekko.http.scaladsl.server.RejectionHandler . |
logRequest, logRequest, logRequest, logRequestResult, logRequestResultOptional, logResult, logResult, logResult
cookie, deleteCookie, deleteCookie, deleteCookie, deleteCookie, deleteCookie, optionalCookie, setCookie, setCookie
decodeRequest, decodeRequestWith, decodeRequestWith, encodeResponse, encodeResponseWith, requestEncodedWith, responseEncodingAccepted, withPrecompressedMediaTypeSupport
conditional, conditional, conditional, conditional
cancelRejection, cancelRejections, cancelRejections, extract, extractActorSystem, extractDataBytes, extractEntity, extractExecutionContext, extractLog, extractMatchedPath, extractMaterializer, extractParserSettings, extractRequest, extractRequestContext, extractRequestEntity, extractSettings, extractStrictEntity, extractStrictEntity, extractUnmatchedPath, extractUri, mapInnerRoute, mapRejections, mapRequest, mapRequestContext, mapResponse, mapResponseEntity, mapResponseHeaders, mapRouteResult, mapRouteResultFuture, mapRouteResultPF, mapRouteResultWith, mapRouteResultWithPF, mapSettings, mapUnmatchedPath, pass, provide, recoverRejections, recoverRejectionsWith, toStrictEntity, toStrictEntity, withExecutionContext, withLog, withMaterializer, withSettings
public RouteAdapter handleExceptions(ExceptionHandler handler, java.util.function.Supplier<Route> inner)
pekko.http.javadsl.server.ExceptionHandler
.handler
- (undocumented)inner
- (undocumented)public RouteAdapter handleRejections(RejectionHandler handler, java.util.function.Supplier<Route> inner)
pekko.http.scaladsl.server.RejectionHandler
.handler
- (undocumented)inner
- (undocumented)