Class RequestContext
java.lang.Object
org.apache.pekko.http.javadsl.server.RequestContext
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
RequestContextpublic RequestContext()
 
- 
- 
Method Details- 
wrapINTERNAL API
- 
reject
- 
delegate
- 
getRequest
- 
getUnmatchedPath
- 
getExecutionContextpublic scala.concurrent.ExecutionContextExecutor getExecutionContext()
- 
getMaterializerpublic org.apache.pekko.stream.Materializer getMaterializer()
- 
getLogpublic org.apache.pekko.event.LoggingAdapter getLog()
- 
getSettings
- 
getParserSettings
- 
reconfigurepublic 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
 
-