Class BitbucketTlsSocketStrategy
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.impl.client.BitbucketTlsSocketStrategy
- All Implemented Interfaces:
- org.apache.hc.client5.http.ssl.TlsSocketStrategy
@Contract(threading=SAFE)
public class BitbucketTlsSocketStrategy
extends Object
implements org.apache.hc.client5.http.ssl.TlsSocketStrategy
Custom implementation of a TlsSocketStrategu to replicate what
 
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator#getSocketFactoryRegistry(HttpContext)
 did in Apache Client HTTP 4 implementation.- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
SOCKET_FACTORY_REGISTRY- See Also:
 
 
- 
- 
Constructor Details- 
BitbucketTlsSocketStrategypublic BitbucketTlsSocketStrategy()
 
- 
- 
Method Details- 
upgradepublic SSLSocket upgrade(Socket socket, String target, int port, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context) throws IOException - Specified by:
- upgradein interface- org.apache.hc.client5.http.ssl.TlsSocketStrategy
- Throws:
- IOException
 
 
-