Class RequestContext
java.lang.Object
org.apache.pekko.http.javadsl.server.RequestContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomplete(T value, Marshaller<T, HttpResponse> marshaller) completeWith(HttpResponse response) delegate()scala.concurrent.ExecutionContextExecutororg.apache.pekko.event.LoggingAdaptergetLog()org.apache.pekko.stream.Materializerreconfigure(scala.concurrent.ExecutionContextExecutor executionContext, org.apache.pekko.stream.Materializer materializer, org.apache.pekko.event.LoggingAdapter log, RoutingSettings settings) redirect(Uri uri, StatusCode redirectionType) withExecutionContext(scala.concurrent.ExecutionContextExecutor ec) withLog(org.apache.pekko.event.LoggingAdapter log) withMaterializer(org.apache.pekko.stream.Materializer materializer) withParserSettings(ParserSettings settings) withRequest(HttpRequest req) withRoutingSettings(RoutingSettings settings) withUnmatchedPath(String path) static RequestContextwrap(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 org.apache.pekko.stream.Materializer getMaterializer() -
getLog
public org.apache.pekko.event.LoggingAdapter getLog() -
getSettings
-
getParserSettings
-
reconfigure
public RequestContext reconfigure(scala.concurrent.ExecutionContextExecutor executionContext, org.apache.pekko.stream.Materializer materializer, org.apache.pekko.event.LoggingAdapter log, RoutingSettings settings) -
complete
-
completeWith
-
reject
-
redirect
-
fail
-
withRequest
-
withExecutionContext
-
withMaterializer
-
withLog
-
withRoutingSettings
-
withParserSettings
-
mapRequest
-
withUnmatchedPath
-
mapUnmatchedPath
-
withAcceptAll
-