public static final class DefaultHttpRequestReplyClientSpec.Timeouts
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.time.Duration |
DEFAULT_HTTP_CONNECT_TIMEOUT |
static java.time.Duration |
DEFAULT_HTTP_READ_TIMEOUT |
static java.time.Duration |
DEFAULT_HTTP_TIMEOUT |
static java.time.Duration |
DEFAULT_HTTP_WRITE_TIMEOUT |
Constructor and Description |
---|
Timeouts() |
Modifier and Type | Method and Description |
---|---|
java.time.Duration |
getCallTimeout() |
java.time.Duration |
getConnectTimeout() |
java.time.Duration |
getReadTimeout() |
java.time.Duration |
getWriteTimeout() |
void |
setCallTimeout(java.time.Duration callTimeout) |
void |
setConnectTimeout(java.time.Duration connectTimeout) |
void |
setReadTimeout(java.time.Duration readTimeout) |
void |
setWriteTimeout(java.time.Duration writeTimeout) |
@VisibleForTesting public static final java.time.Duration DEFAULT_HTTP_TIMEOUT
@VisibleForTesting public static final java.time.Duration DEFAULT_HTTP_CONNECT_TIMEOUT
@VisibleForTesting public static final java.time.Duration DEFAULT_HTTP_READ_TIMEOUT
@VisibleForTesting public static final java.time.Duration DEFAULT_HTTP_WRITE_TIMEOUT
public void setCallTimeout(java.time.Duration callTimeout)
public void setConnectTimeout(java.time.Duration connectTimeout)
public void setReadTimeout(java.time.Duration readTimeout)
public void setWriteTimeout(java.time.Duration writeTimeout)
public java.time.Duration getCallTimeout()
public java.time.Duration getConnectTimeout()
public java.time.Duration getReadTimeout()
public java.time.Duration getWriteTimeout()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.