ServerConfiguration.Builder |
ServerConfiguration.Builder.addSocket(String name,
int port,
InetAddress bindAddress) |
Adds an additional named server socket configuration.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.addSocket(String name,
SocketConfiguration socketConfiguration) |
Adds an additional named server socket configuration.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.addSocket(String name,
Supplier<SocketConfiguration> socketConfigurationBuilder) |
Adds an additional named server socket configuration builder.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.allowedCipherSuite(List<String> cipherSuite) |
Configures allowed SSL cipher suite.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.backlog(int size) |
Sets a maximum length of the queue of incoming connections.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.bindAddress(InetAddress bindAddress) |
Sets a local address for server to bind.
|
static ServerConfiguration.Builder |
ServerConfiguration.builder() |
|
static ServerConfiguration.Builder |
ServerConfiguration.builder(Config config) |
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.clientAuth(ClientAuthentication clientAuthentication) |
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.config(Config config) |
Sets configuration values included in provided Config parameter.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.context(Context context) |
Configure the application scoped context to be used as a parent for webserver request contexts.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.enabledSSlProtocols(String... protocols) |
Configures the SSL protocols to enable with the default server socket.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.enabledSSlProtocols(List<String> protocols) |
Configures the SSL protocols to enable with the default server socket.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.experimental(ExperimentalConfiguration experimental) |
Configure experimental features.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.maxHeaderSize(int size) |
Configure maximal header size (all headers combined) in number of characters for default socket.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.maxInitialLineLength(int length) |
Configure maximal length of the initial HTTP line for default socket.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.port(int port) |
Sets server port.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.receiveBufferSize(int bytes) |
Propose value of the TCP receive window that is advertised to the remote peer.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.ssl(Supplier<? extends SSLContext> sslContextBuilder) |
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.ssl(SSLContext sslContext) |
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.timeout(int milliseconds) |
Sets a socket timeout in milliseconds or 0 for infinite timeout.
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.tracer(Tracer tracer) |
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.tracer(Supplier<? extends Tracer> tracerBuilder) |
|
ServerConfiguration.Builder |
ServerConfiguration.Builder.workersCount(int workers) |
Sets a count of threads in pool used to tryProcess HTTP requests.
|