SocketConfiguration.Builder |
SocketConfiguration.Builder.allowedCipherSuite(List<String> cipherSuite) |
Configures allowed SSL cipher suite.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.backlog(int backlog) |
Configures a maximum length of the queue of incoming connections on the server
socket.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.bindAddress(InetAddress bindAddress) |
Configures local address where the server listens on with the server socket.
|
static SocketConfiguration.Builder |
SocketConfiguration.builder() |
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.clientAuth(ClientAuthentication clientAuth) |
Configures whether client authentication will be required or not.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.enabledSSlProtocols(String... protocols) |
Configures the SSL protocols to enable with the server socket.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.enabledSSlProtocols(List<String> protocols) |
Configures the SSL protocols to enable with the server socket.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.initialBufferSize(int size) |
Configure initial size of the buffer used to parse HTTP line and headers.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.maxChunkSize(int size) |
Configure maximal size of a chunk to be read from incoming requests.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.maxHeaderSize(int size) |
Maximal number of bytes of all header values combined.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.maxInitialLineLength(int length) |
Maximal number of characters in the initial HTTP line.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.port(int port) |
Configures a server port to listen on with the server socket.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.receiveBufferSize(int receiveBufferSize) |
Configures proposed value of the TCP receive window that is advertised to the remote peer on the
server socket.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.ssl(Supplier<? extends SSLContext> sslContextBuilder) |
Configures a SSLContext to use with the server socket.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.ssl(SSLContext sslContext) |
Configures a SSLContext to use with the server socket.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.timeoutMillis(int timeoutMillis) |
Configures a server socket timeout in milliseconds or 0 for an infinite timeout.
|
SocketConfiguration.Builder |
SocketConfiguration.Builder.validateHeaders(boolean validate) |
Configure whether to validate header names.
|