Class HttpServerBluePrint$
- java.lang.Object
-
- akka.http.impl.engine.server.HttpServerBluePrint$
-
public class HttpServerBluePrint$ extends java.lang.Object
INTERNAL APIHTTP pipeline setup (without the underlying SSL/TLS (un)wrapping and the websocket switch):
+----------+ +-------------+ +-------------+ +-----------+ HttpRequest | | Http- | request- | Request- | | Request- | request- | ByteString | <------------+ <----------+ Preparation <----------+ <-------------+ Parsing <----------- | | | Request | | Output | | Output | | | | | +-------------+ | | +-----------+ | | | | | | Application- | One2One- | | controller- | | Flow | Bidi | | Stage | | | | | | | | | | | +-----------+ | HttpResponse | | HttpResponse | | Response- | renderer- | ByteString v -------------> +-----------------------------------> +-------------> Pipeline +----------> | | | | Rendering- | | +----------+ +-------------+ Context +-----------+
-
-
Field Summary
Fields Modifier and Type Field Description static HttpServerBluePrint$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description HttpServerBluePrint$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description akka.stream.scaladsl.BidiFlow<HttpResponse,akka.stream.TLSProtocol.SslTlsOutbound,akka.stream.TLSProtocol.SslTlsInbound,HttpRequest,akka.NotUsed>
apply(ServerSettings settings, akka.event.LoggingAdapter log, boolean isSecureConnection, DateHeaderRendering dateHeaderRendering)
akka.stream.scaladsl.BidiFlow<HttpResponse,ResponseRenderingContext,ParserOutput.RequestOutput,ParserOutput.RequestOutput,akka.NotUsed>
controller(ServerSettings settings, akka.event.LoggingAdapter log)
akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SessionBytes,ParserOutput.RequestOutput,akka.NotUsed>
parsing(ServerSettings settings, akka.event.LoggingAdapter log, boolean isSecureConnection)
akka.stream.scaladsl.BidiFlow<ResponseRenderingContext,ResponseRenderingOutput,akka.stream.TLSProtocol.SessionBytes,ParserOutput.RequestOutput,akka.NotUsed>
parsingRendering(ServerSettings settings, akka.event.LoggingAdapter log, boolean isSecureConnection, DateHeaderRendering dateHeaderRendering)
akka.stream.scaladsl.Flow<ResponseRenderingContext,ResponseRenderingOutput,akka.NotUsed>
rendering(ServerSettings settings, akka.event.LoggingAdapter log, DateHeaderRendering dateHeaderRendering)
akka.stream.scaladsl.BidiFlow<HttpResponse,HttpResponse,ParserOutput.RequestOutput,HttpRequest,akka.NotUsed>
requestPreparation(ServerSettings settings)
akka.stream.scaladsl.BidiFlow<HttpResponse,HttpResponse,HttpRequest,HttpRequest,akka.NotUsed>
requestTimeoutSupport(scala.concurrent.duration.Duration timeout, akka.event.LoggingAdapter log)
akka.stream.scaladsl.BidiFlow<akka.util.ByteString,akka.stream.TLSProtocol.SslTlsOutbound,akka.stream.TLSProtocol.SslTlsInbound,akka.stream.TLSProtocol.SessionBytes,akka.NotUsed>
tlsSupport()
akka.stream.scaladsl.BidiFlow<HttpResponse,HttpResponse,HttpRequest,HttpRequest,akka.NotUsed>
userHandlerGuard(int pipeliningLimit)
Ensures that the user handler - produces exactly one response per request - has not more thanpipeliningLimit
responses outstandingakka.stream.scaladsl.BidiFlow<ResponseRenderingOutput,akka.util.ByteString,akka.stream.TLSProtocol.SessionBytes,akka.stream.TLSProtocol.SessionBytes,akka.NotUsed>
websocketSupport(ServerSettings settings, akka.event.LoggingAdapter log)
-
-
-
Field Detail
-
MODULE$
public static final HttpServerBluePrint$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public akka.stream.scaladsl.BidiFlow<HttpResponse,akka.stream.TLSProtocol.SslTlsOutbound,akka.stream.TLSProtocol.SslTlsInbound,HttpRequest,akka.NotUsed> apply(ServerSettings settings, akka.event.LoggingAdapter log, boolean isSecureConnection, DateHeaderRendering dateHeaderRendering)
-
tlsSupport
public akka.stream.scaladsl.BidiFlow<akka.util.ByteString,akka.stream.TLSProtocol.SslTlsOutbound,akka.stream.TLSProtocol.SslTlsInbound,akka.stream.TLSProtocol.SessionBytes,akka.NotUsed> tlsSupport()
-
websocketSupport
public akka.stream.scaladsl.BidiFlow<ResponseRenderingOutput,akka.util.ByteString,akka.stream.TLSProtocol.SessionBytes,akka.stream.TLSProtocol.SessionBytes,akka.NotUsed> websocketSupport(ServerSettings settings, akka.event.LoggingAdapter log)
-
parsingRendering
public akka.stream.scaladsl.BidiFlow<ResponseRenderingContext,ResponseRenderingOutput,akka.stream.TLSProtocol.SessionBytes,ParserOutput.RequestOutput,akka.NotUsed> parsingRendering(ServerSettings settings, akka.event.LoggingAdapter log, boolean isSecureConnection, DateHeaderRendering dateHeaderRendering)
-
controller
public akka.stream.scaladsl.BidiFlow<HttpResponse,ResponseRenderingContext,ParserOutput.RequestOutput,ParserOutput.RequestOutput,akka.NotUsed> controller(ServerSettings settings, akka.event.LoggingAdapter log)
-
requestPreparation
public akka.stream.scaladsl.BidiFlow<HttpResponse,HttpResponse,ParserOutput.RequestOutput,HttpRequest,akka.NotUsed> requestPreparation(ServerSettings settings)
-
requestTimeoutSupport
public akka.stream.scaladsl.BidiFlow<HttpResponse,HttpResponse,HttpRequest,HttpRequest,akka.NotUsed> requestTimeoutSupport(scala.concurrent.duration.Duration timeout, akka.event.LoggingAdapter log)
-
parsing
public akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SessionBytes,ParserOutput.RequestOutput,akka.NotUsed> parsing(ServerSettings settings, akka.event.LoggingAdapter log, boolean isSecureConnection)
-
rendering
public akka.stream.scaladsl.Flow<ResponseRenderingContext,ResponseRenderingOutput,akka.NotUsed> rendering(ServerSettings settings, akka.event.LoggingAdapter log, DateHeaderRendering dateHeaderRendering)
-
userHandlerGuard
public akka.stream.scaladsl.BidiFlow<HttpResponse,HttpResponse,HttpRequest,HttpRequest,akka.NotUsed> userHandlerGuard(int pipeliningLimit)
Ensures that the user handler - produces exactly one response per request - has not more thanpipeliningLimit
responses outstanding- Parameters:
pipeliningLimit
- (undocumented)- Returns:
- (undocumented)
-
-