Class AzureGlobalProperties.GlobalHttpClientConfigurationProperties
java.lang.Object
com.azure.spring.cloud.autoconfigure.context.AzureGlobalProperties.GlobalHttpClientConfigurationProperties
- Enclosing class:
- AzureGlobalProperties
public static final class AzureGlobalProperties.GlobalHttpClientConfigurationProperties
extends Object
Transport properties for http-based clients.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the connection idle timeout.Gets the connect timeout.List<com.azure.spring.cloud.core.properties.client.HeaderProperties>
Gets the headers.Gets the HTTP logging configuration properties.Gets the maximum connection pool size.Gets the read timeout.Gets the response timeout.Gets the write timeout.void
setConnectionIdleTimeout
(Duration connectionIdleTimeout) Sets the connection idle timeout.void
setConnectTimeout
(Duration connectTimeout) Sets the connect timeout.void
setMaximumConnectionPoolSize
(Integer maximumConnectionPoolSize) Sets the maximum connection pool size.void
setReadTimeout
(Duration readTimeout) Sets the read timeout.void
setResponseTimeout
(Duration responseTimeout) Sets the response timeout.void
setWriteTimeout
(Duration writeTimeout) Sets the write timeout.
-
Constructor Details
-
GlobalHttpClientConfigurationProperties
public GlobalHttpClientConfigurationProperties()
-
-
Method Details
-
getWriteTimeout
Gets the write timeout.- Returns:
- The write timeout.
-
setWriteTimeout
Sets the write timeout.- Parameters:
writeTimeout
- The write timeout.
-
getResponseTimeout
Gets the response timeout.- Returns:
- The response timeout.
-
setResponseTimeout
Sets the response timeout.- Parameters:
responseTimeout
- The response timeout.
-
getReadTimeout
Gets the read timeout.- Returns:
- The read timeout.
-
setReadTimeout
Sets the read timeout.- Parameters:
readTimeout
- The read timeout.
-
getConnectTimeout
Gets the connect timeout.- Returns:
- The connect timeout.
-
setConnectTimeout
Sets the connect timeout.- Parameters:
connectTimeout
- The connect timeout.
-
getMaximumConnectionPoolSize
Gets the maximum connection pool size.- Returns:
- The maximum connection pool size.
-
setMaximumConnectionPoolSize
Sets the maximum connection pool size.- Parameters:
maximumConnectionPoolSize
- The maximum connection pool size.
-
getConnectionIdleTimeout
Gets the connection idle timeout.- Returns:
- The connection idle timeout.
-
setConnectionIdleTimeout
Sets the connection idle timeout.- Parameters:
connectionIdleTimeout
- The connection idle timeout.
-
getHeaders
Gets the headers.- Returns:
- The headers.
-
getLogging
Gets the HTTP logging configuration properties.- Returns:
- The HTTP logging configuration properties.
-