OkHttpSender.Builder |
OkHttpSender.Builder.compressionEnabled(boolean compressionEnabled) |
Default true.
|
OkHttpSender.Builder |
OkHttpSender.Builder.connectTimeout(int connectTimeoutMillis) |
Sets the default connect timeout (in milliseconds) for new connections.
|
OkHttpSender.Builder |
OkHttpSender.Builder.encoding(Encoding encoding) |
Use this to change the encoding used in messages.
|
OkHttpSender.Builder |
OkHttpSender.Builder.endpoint(String endpoint) |
No default.
|
OkHttpSender.Builder |
OkHttpSender.Builder.endpoint(okhttp3.HttpUrl endpoint) |
|
OkHttpSender.Builder |
OkHttpSender.Builder.endpointSupplierFactory(HttpEndpointSupplier.Factory endpointSupplierFactory) |
|
OkHttpSender.Builder |
OkHttpSender.Builder.maxRequests(int maxRequests) |
Maximum in-flight requests.
|
OkHttpSender.Builder |
OkHttpSender.Builder.messageMaxBytes(int messageMaxBytes) |
Maximum size of a message.
|
static OkHttpSender.Builder |
OkHttpSender.newBuilder() |
|
OkHttpSender.Builder |
OkHttpSender.Builder.readTimeout(int readTimeoutMillis) |
Sets the default read timeout (in milliseconds) for new connections.
|
OkHttpSender.Builder |
OkHttpSender.toBuilder() |
Creates a builder out of this object.
|
OkHttpSender.Builder |
OkHttpSender.Builder.writeTimeout(int writeTimeoutMillis) |
Sets the default write timeout (in milliseconds) for new connections.
|