@@ -22,6 +22,35 @@ import scala.collection.immutable
2222import scala .concurrent .{ExecutionContext , Future }
2323import scala .concurrent .duration ._
2424
25+ /**
26+ * BlazeBuilder is the component for the builder pattern aggregating
27+ * different components to finally serve requests.
28+ *
29+ * Variables:
30+ * @param socketAddress: Socket Address the server will be mounted at
31+ * @param executionContext: Execution Context the underlying blaze futures
32+ * will be executed upon.
33+ * @param idleTimeout: Period of Time a connection can remain idle before the
34+ * connection is timed out and disconnected.
35+ * Duration.Inf disables this feature.
36+ * @param isNio2: Whether or not to use NIO2 or NIO1 Socket Server Group
37+ * @param connectorPoolSize: Number of worker threads for the new Socket Server Group
38+ * @param bufferSize: Buffer size to use for IO operations
39+ * @param enableWebsockets: Enables Websocket Support
40+ * @param sslBits: If defined enables secure communication to the server using the
41+ * sslContext
42+ * @param isHttp2Enabled: Whether or not to enable Http2 Server Features
43+ * @param maxRequestLineLength: Maximum request line to parse
44+ * If exceeded returns a 400 Bad Request.
45+ * @param maxHeadersLen: Maximum data that composes the headers.
46+ * If exceeded returns a 400 Bad Request.
47+ * @param serviceMounts: The services that are mounted on this server to serve.
48+ * These services get assembled into a Router with the longer prefix winning.
49+ * @param serviceErrorHandler: The last resort to recover and generate a response
50+ * this is necessary to recover totality from the error condition.
51+ * @param banner: Pretty log to display on server start. An empty sequence
52+ * such as Nil disables this
53+ */
2554class BlazeBuilder [F [_]](
2655 socketAddress : InetSocketAddress ,
2756 executionContext : ExecutionContext ,
0 commit comments