public class HttpsURLConnectionInfo extends HttpURLConnectionInfo
Modifier and Type | Field and Description |
---|---|
protected String |
enabledCipherSuite
This field contains the cipherSuite enabled in the
HTTPS URLconnection.
|
protected Certificate[] |
localCertificates
This field contains the certificates that were used to
authenticate the connection to the peer.
|
protected Principal |
localPrincipal
This field contains the Principal that authenticated to the
peer.
|
protected Principal |
peerPrincipal
This field contains the Principal that represents the
authenticated peer.
|
protected Certificate[] |
serverCertificates
This field contains the certificates the server presented
to authenticate.
|
theURI
Constructor and Description |
---|
HttpsURLConnectionInfo(HttpURLConnection connection)
This constructor is used to create the info object
representing the this HttpsURLConnection.
|
HttpsURLConnectionInfo(URI uri,
String method,
String cipherSuite,
Certificate[] localCerts,
Principal principal,
Certificate[] serverCerts,
Principal peer) |
Modifier and Type | Method and Description |
---|---|
String |
getEnabledCipherSuite()
This method returns the cipher suite employed in this
HttpsURLConnection.
|
Certificate[] |
getLocalCertificates()
This method returns the certificates that were used to
authenticate to the peer.
|
Principal |
getLocalPrincipal()
This method returns the Princpal that authenticated to
the peer.
|
Principal |
getPeerPrincipal()
This method returns the Principal that represents the
authenticated peer.
|
Certificate[] |
getServerCertificates()
This method returns the certificates presented by the
peer for authentication.
|
getHttpRequestMethod
getURI
protected String enabledCipherSuite
protected Certificate[] localCertificates
protected Principal localPrincipal
protected Certificate[] serverCertificates
protected Principal peerPrincipal
public HttpsURLConnectionInfo(URI uri, String method, String cipherSuite, Certificate[] localCerts, Principal principal, Certificate[] serverCerts, Principal peer)
public HttpsURLConnectionInfo(HttpURLConnection connection) throws IOException
IOException
public String getEnabledCipherSuite()
public Certificate[] getLocalCertificates()
public Principal getLocalPrincipal()
public Certificate[] getServerCertificates()
public Principal getPeerPrincipal()
Apache CXF