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, socketFactoryANY_KEY_ALGORITHM, clientLogger, DSA_KEY_ALGORITHM, getSubjectPermission, initLogger, INTEGRITY_PREFERRED, INTEGRITY_REQUIRED, RSA_KEY_ALGORITHM, serverLogger, UNKNOWN_PRINCIPAL| Constructor and Description |
|---|
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, toStringcheckValidity, 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, toStringprivate long timeLastVerified
HttpsEndpointImpl(Endpoint endpoint, String serverHost, int port, SocketFactory socketFactory)
OutboundRequestIterator newRequest(CallContext callContext)
newRequest in class SslEndpointImplOutboundRequest getOutboundRequest(CallContext callContext) throws IOException
IOExceptionprivate void pingEndpoint(HttpsEndpoint.HttpsConnection connection) throws IOException
IOExceptionpublic Connection connect(OutboundRequestHandle handle)
SslEndpointImplconnect in interface ConnectionEndpointconnect in class SslEndpointImplhandle - the handle for the requestCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.