Class ExecutionDirectives
java.lang.Object
akka.http.javadsl.server.directives.BasicDirectives
akka.http.javadsl.server.directives.CacheConditionDirectives
akka.http.javadsl.server.directives.CodingDirectives
akka.http.javadsl.server.directives.CookieDirectives
akka.http.javadsl.server.directives.DebuggingDirectives
akka.http.javadsl.server.directives.ExecutionDirectives
- Direct Known Subclasses:
FileAndResourceDirectives
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandleExceptions
(ExceptionHandler handler, Supplier<Route> inner) Transforms exceptions thrown during evaluation of its inner route using the givenExceptionHandler
.handleRejections
(RejectionHandler handler, Supplier<Route> inner) Transforms rejections produced by its inner route using the givenRejectionHandler
.Methods inherited from class akka.http.javadsl.server.directives.DebuggingDirectives
logRequest, logRequest, logRequest, logRequestResult, logRequestResultOptional, logResult, logResult, logResult
Methods inherited from class akka.http.javadsl.server.directives.CookieDirectives
cookie, deleteCookie, deleteCookie, deleteCookie, deleteCookie, deleteCookie, optionalCookie, setCookie, setCookie
Methods inherited from class akka.http.javadsl.server.directives.CodingDirectives
decodeRequest, decodeRequestWith, decodeRequestWith, encodeResponse, encodeResponseWith, requestEncodedWith, responseEncodingAccepted, withPrecompressedMediaTypeSupport
Methods inherited from class akka.http.javadsl.server.directives.CacheConditionDirectives
conditional, conditional, conditional, conditional
Methods inherited from class akka.http.javadsl.server.directives.BasicDirectives
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
-
Constructor Details
-
ExecutionDirectives
public ExecutionDirectives()
-
-
Method Details
-
handleExceptions
Transforms exceptions thrown during evaluation of its inner route using the givenExceptionHandler
.- Parameters:
handler
- (undocumented)inner
- (undocumented)- Returns:
- (undocumented)
-
handleRejections
Transforms rejections produced by its inner route using the givenRejectionHandler
.- Parameters:
handler
- (undocumented)inner
- (undocumented)- Returns:
- (undocumented)
-