private static final class HttpsEndpoint.HttpsEndpointImpl extends SslEndpointImpl
Utilities.SSLContextInfo
Modifier and Type | Field and Description |
---|---|
private long |
timeLastVerified
Time at which the server endpoint was last pinged.
|
connectionManager, disableSocketConnect, endpoint, logger, port, serverHost, socketFactory
ANY_KEY_ALGORITHM, clientLogger, DSA_KEY_ALGORITHM, getSubjectPermission, initLogger, INTEGRITY_PREFERRED, INTEGRITY_REQUIRED, RSA_KEY_ALGORITHM, serverLogger, UNKNOWN_PRINCIPAL
Constructor and Description |
---|
HttpsEndpoint.HttpsEndpointImpl(Endpoint endpoint,
String serverHost,
int port,
SocketFactory socketFactory)
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
Connection |
connect(OutboundRequestHandle handle)
Creates a new connection.
|
(package private) OutboundRequest |
getOutboundRequest(CallContext callContext)
Returns an outbound request for the specified call context.
|
(package private) OutboundRequestIterator |
newRequest(CallContext callContext)
Implements Endpoint.newRequest when the constraints are supported.
|
private void |
pingEndpoint(HttpsEndpoint.HttpsConnection connection)
Ping the server endpoint to test the connection.
|
connect, equals, fieldsToString, hashCode, newRequest, toString
checkValidity, contains, doesEncryption, doesServerAuthentication, equals, firstX509Cert, getCertFactory, getCipherAlgorithm, getClassName, getClientPrincipals, getClientPrincipals, getClientSSLContextInfo, getKeyAlgorithm, getKeyExchangeAlgorithm, getPermittedKeyAlgorithms, getServerPrincipals, getServerSSLContextInfo, getSupportedCipherSuites, hasStrongCipherAlgorithm, logThrow, maintainsIntegrity, permittedKeyAlgorithm, position, releaseClientSSLContextInfo, safeEquals, subjectString, toString
private long timeLastVerified
HttpsEndpoint.HttpsEndpointImpl(Endpoint endpoint, String serverHost, int port, SocketFactory socketFactory)
OutboundRequestIterator newRequest(CallContext callContext)
newRequest
in class SslEndpointImpl
OutboundRequest getOutboundRequest(CallContext callContext) throws IOException
IOException
private void pingEndpoint(HttpsEndpoint.HttpsConnection connection) throws IOException
IOException
public Connection connect(OutboundRequestHandle handle)
SslEndpointImpl
connect
in interface ConnectionEndpoint
connect
in class SslEndpointImpl
handle
- the handle for the requestCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.