Class RemoteAgentHttpClientFactory
- java.lang.Object
-
- com.atlassian.bamboo.agent.bootstrap.http.RemoteAgentHttpClientFactory
-
- All Implemented Interfaces:
Serializable
public final class RemoteAgentHttpClientFactory extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
BAMBOO_AGENT_IGNORE_SERVER_CERT_NAME
-
Constructor Summary
Constructors Constructor Description RemoteAgentHttpClientFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
getTimeoutMs()
org.apache.http.impl.client.CloseableHttpClient
newHttpClient()
org.apache.http.conn.ssl.SSLConnectionSocketFactory
newSslConnectionSocketFactory()
void
setFixedVirtualHost(String virtualHost)
void
setHostnameVerifier(HostnameVerifier hostnameVerifier)
void
setRetries(int retries)
void
setSchemeRegistryDataFactory(SchemeRegistryFactory schemeRegistryData)
void
setTimeoutMs(int timeoutMs)
-
-
-
Field Detail
-
BAMBOO_AGENT_IGNORE_SERVER_CERT_NAME
public static final String BAMBOO_AGENT_IGNORE_SERVER_CERT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public void setSchemeRegistryDataFactory(SchemeRegistryFactory schemeRegistryData)
-
setRetries
public void setRetries(int retries)
-
setTimeoutMs
public void setTimeoutMs(int timeoutMs)
-
setHostnameVerifier
public void setHostnameVerifier(HostnameVerifier hostnameVerifier)
-
setFixedVirtualHost
public void setFixedVirtualHost(String virtualHost)
-
getTimeoutMs
public static int getTimeoutMs()
-
-