Class RemoteAgentHttpClientFactory
java.lang.Object
com.atlassian.bamboo.agent.bootstrap.http.RemoteAgentHttpClientFactory
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
org.apache.http.impl.client.CloseableHttpClient
org.apache.http.conn.ssl.SSLConnectionSocketFactory
void
setFixedVirtualHost
(String virtualHost) void
setHostnameVerifier
(HostnameVerifier hostnameVerifier) void
setRetries
(int retries) void
setSchemeRegistryDataFactory
(SchemeRegistryFactory schemeRegistryData) void
setTimeoutMs
(int timeoutMs)
-
Field Details
-
BAMBOO_AGENT_IGNORE_SERVER_CERT_NAME
- See Also:
-
-
Constructor Details
-
RemoteAgentHttpClientFactory
public RemoteAgentHttpClientFactory()
-
-
Method Details
-
newHttpClient
public org.apache.http.impl.client.CloseableHttpClient newHttpClient() -
newSslConnectionSocketFactory
public org.apache.http.conn.ssl.SSLConnectionSocketFactory newSslConnectionSocketFactory() throws org.apache.http.conn.ssl.SSLInitializationException- Throws:
org.apache.http.conn.ssl.SSLInitializationException
-
setSchemeRegistryDataFactory
-
setRetries
public void setRetries(int retries) -
setTimeoutMs
public void setTimeoutMs(int timeoutMs) -
setHostnameVerifier
-
setFixedVirtualHost
-
getTimeoutMs
public static int getTimeoutMs()
-