Class ExecutionDirectives
java.lang.Object
org.apache.pekko.http.javadsl.server.directives.BasicDirectives
org.apache.pekko.http.javadsl.server.directives.CacheConditionDirectives
org.apache.pekko.http.javadsl.server.directives.CodingDirectives
org.apache.pekko.http.javadsl.server.directives.CookieDirectives
org.apache.pekko.http.javadsl.server.directives.DebuggingDirectives
org.apache.pekko.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 givenpekko.http.javadsl.server.ExceptionHandler.handleRejections(RejectionHandler handler, Supplier<Route> inner) Transforms rejections produced by its inner route using the givenpekko.http.scaladsl.server.RejectionHandler.Methods inherited from class org.apache.pekko.http.javadsl.server.directives.DebuggingDirectives
logRequest, logRequest, logRequest, logRequestResult, logRequestResultOptional, logResult, logResult, logResultMethods inherited from class org.apache.pekko.http.javadsl.server.directives.CookieDirectives
cookie, deleteCookie, deleteCookie, deleteCookie, deleteCookie, deleteCookie, optionalCookie, setCookie, setCookieMethods inherited from class org.apache.pekko.http.javadsl.server.directives.CodingDirectives
decodeRequest, decodeRequestWith, decodeRequestWith, encodeResponse, encodeResponseWith, requestEncodedWith, responseEncodingAccepted, withPrecompressedMediaTypeSupportMethods inherited from class org.apache.pekko.http.javadsl.server.directives.CacheConditionDirectives
conditional, conditional, conditional, conditionalMethods inherited from class org.apache.pekko.http.javadsl.server.directives.BasicDirectives
cancelRejection, cancelRejections, cancelRejections, extract, extractActorSystem, extractDataBytes, extractEntity, extractExecutionContext, extractLog, extractMatchedPath, extractMaterializer, extractParserSettings, extractRequest, extractRequestContext, extractRequestEntity, extractSettings, extractStrictEntity, extractStrictEntity, extractStrictEntity, extractStrictEntity, extractUnmatchedPath, extractUri, mapInnerRoute, mapRejections, mapRequest, mapRequestContext, mapResponse, mapResponseEntity, mapResponseHeaders, mapRouteResult, mapRouteResultFuture, mapRouteResultPF, mapRouteResultWith, mapRouteResultWithPF, mapSettings, mapUnmatchedPath, pass, provide, recoverRejections, recoverRejectionsWith, toStrictEntity, toStrictEntity, 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 givenpekko.http.javadsl.server.ExceptionHandler.- Parameters:
handler- (undocumented)inner- (undocumented)- Returns:
- (undocumented)
-
handleRejections
Transforms rejections produced by its inner route using the givenpekko.http.scaladsl.server.RejectionHandler.- Parameters:
handler- (undocumented)inner- (undocumented)- Returns:
- (undocumented)
-