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, logResultcookie, deleteCookie, deleteCookie, deleteCookie, deleteCookie, deleteCookie, optionalCookie, setCookie, setCookiedecodeRequest, decodeRequestWith, decodeRequestWith, encodeResponse, encodeResponseWith, requestEncodedWith, responseEncodingAccepted, withPrecompressedMediaTypeSupportconditional, conditional, conditional, conditionalcancelRejection, 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, withSettingspublic 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)