OkHttpServerBuilder |
OkHttpServerBuilder.flowControlWindow(int flowControlWindow) |
Sets the flow control window in bytes.
|
static OkHttpServerBuilder |
OkHttpServerBuilder.forPort(int port) |
Deprecated.
|
static OkHttpServerBuilder |
OkHttpServerBuilder.forPort(int port,
ServerCredentials creds) |
Creates a builder for a server listening on port .
|
static OkHttpServerBuilder |
OkHttpServerBuilder.forPort(SocketAddress address,
ServerCredentials creds) |
Creates a builder for a server listening on address .
|
OkHttpServerBuilder |
OkHttpServerBuilder.keepAliveTime(long keepAliveTime,
TimeUnit timeUnit) |
Sets the time without read activity before sending a keepalive ping.
|
OkHttpServerBuilder |
OkHttpServerBuilder.keepAliveTimeout(long keepAliveTimeout,
TimeUnit timeUnit) |
Sets a time waiting for read activity after sending a keepalive ping.
|
OkHttpServerBuilder |
OkHttpServerBuilder.maxConcurrentCallsPerConnection(int maxConcurrentCallsPerConnection) |
The maximum number of concurrent calls permitted for each incoming connection.
|
OkHttpServerBuilder |
OkHttpServerBuilder.maxConnectionAge(long maxConnectionAge,
TimeUnit timeUnit) |
Sets a custom max connection age, connection lasting longer than which will be gracefully
terminated.
|
OkHttpServerBuilder |
OkHttpServerBuilder.maxConnectionAgeGrace(long maxConnectionAgeGrace,
TimeUnit timeUnit) |
Sets a custom grace time for the graceful connection termination.
|
OkHttpServerBuilder |
OkHttpServerBuilder.maxConnectionIdle(long maxConnectionIdle,
TimeUnit timeUnit) |
Sets a custom max connection idle time, connection being idle for longer than which will be
gracefully terminated.
|
OkHttpServerBuilder |
OkHttpServerBuilder.maxInboundMessageSize(int bytes) |
Sets the maximum message size allowed to be received on the server.
|
OkHttpServerBuilder |
OkHttpServerBuilder.maxInboundMetadataSize(int bytes) |
Sets the maximum size of metadata allowed to be received.
|
OkHttpServerBuilder |
OkHttpServerBuilder.permitKeepAliveTime(long keepAliveTime,
TimeUnit timeUnit) |
Specify the most aggressive keep-alive time clients are permitted to configure.
|
OkHttpServerBuilder |
OkHttpServerBuilder.permitKeepAliveWithoutCalls(boolean permit) |
Sets whether to allow clients to send keep-alive HTTP/2 PINGs even if there are no outstanding
RPCs on the connection.
|
OkHttpServerBuilder |
OkHttpServerBuilder.scheduledExecutorService(ScheduledExecutorService scheduledExecutorService) |
Provides a custom scheduled executor service.
|
OkHttpServerBuilder |
OkHttpServerBuilder.socketFactory(ServerSocketFactory socketFactory) |
|
OkHttpServerBuilder |
OkHttpServerBuilder.transportExecutor(Executor transportExecutor) |
Override the default executor necessary for internal transport use.
|