Package akka.http.javadsl.server
Class RequestContext
java.lang.Object
akka.http.javadsl.server.RequestContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomplete
(T value, Marshaller<T, HttpResponse> marshaller) completeWith
(HttpResponse response) delegate()
scala.concurrent.ExecutionContextExecutor
akka.event.LoggingAdapter
getLog()
akka.stream.Materializer
reconfigure
(scala.concurrent.ExecutionContextExecutor executionContext, akka.stream.Materializer materializer, akka.event.LoggingAdapter log, RoutingSettings settings) redirect
(Uri uri, StatusCode redirectionType) withExecutionContext
(scala.concurrent.ExecutionContextExecutor ec) withLog
(akka.event.LoggingAdapter log) withMaterializer
(akka.stream.Materializer materializer) withParserSettings
(ParserSettings settings) withRequest
(HttpRequest req) withRoutingSettings
(RoutingSettings settings) withUnmatchedPath
(String path) static RequestContext
wrap
(RequestContext delegate) INTERNAL API
-
Constructor Details
-
RequestContext
public RequestContext()
-
-
Method Details
-
wrap
INTERNAL API -
reject
-
delegate
-
getRequest
-
getUnmatchedPath
-
getExecutionContext
public scala.concurrent.ExecutionContextExecutor getExecutionContext() -
getMaterializer
public akka.stream.Materializer getMaterializer() -
getLog
public akka.event.LoggingAdapter getLog() -
getSettings
-
getParserSettings
-
reconfigure
public RequestContext reconfigure(scala.concurrent.ExecutionContextExecutor executionContext, akka.stream.Materializer materializer, akka.event.LoggingAdapter log, RoutingSettings settings) -
complete
-
completeWith
-
reject
-
redirect
-
fail
-
withRequest
-
withExecutionContext
-
withMaterializer
-
withLog
-
withRoutingSettings
-
withParserSettings
-
mapRequest
-
withUnmatchedPath
-
mapUnmatchedPath
-
withAcceptAll
-