Package org.apache.cxf.transport.https
Class HttpsURLConnectionInfo
java.lang.Object
org.apache.cxf.transport.http.URLConnectionInfo
org.apache.cxf.transport.http.HttpURLConnectionInfo
org.apache.cxf.transport.https.HttpsURLConnectionInfo
This class holds information about the HttpsURLConnection. This
class should be used when the getURL().getProtocol() is "https".
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThis field contains the cipherSuite enabled in the HTTPS URLconnection.protected Certificate[]This field contains the certificates that were used to authenticate the connection to the peer.protected PrincipalThis field contains the Principal that authenticated to the peer.protected PrincipalThis field contains the Principal that represents the authenticated peer.protected Certificate[]This field contains the certificates the server presented to authenticate.Fields inherited from class org.apache.cxf.transport.http.URLConnectionInfo
theURI -
Constructor Summary
ConstructorsConstructorDescriptionHttpsURLConnectionInfo(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) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the cipher suite employed in this HttpsURLConnection.This method returns the certificates that were used to authenticate to the peer.This method returns the Princpal that authenticated to the peer.This method returns the Principal that represents the authenticated peer.This method returns the certificates presented by the peer for authentication.Methods inherited from class org.apache.cxf.transport.http.HttpURLConnectionInfo
getHttpRequestMethodMethods inherited from class org.apache.cxf.transport.http.URLConnectionInfo
getURI
-
Field Details
-
enabledCipherSuite
This field contains the cipherSuite enabled in the HTTPS URLconnection. -
localCertificates
This field contains the certificates that were used to authenticate the connection to the peer. -
localPrincipal
This field contains the Principal that authenticated to the peer. -
serverCertificates
This field contains the certificates the server presented to authenticate. -
peerPrincipal
This field contains the Principal that represents the authenticated peer.
-
-
Constructor Details
-
HttpsURLConnectionInfo
public HttpsURLConnectionInfo(URI uri, String method, String cipherSuite, Certificate[] localCerts, Principal principal, Certificate[] serverCerts, Principal peer) -
HttpsURLConnectionInfo
This constructor is used to create the info object representing the this HttpsURLConnection. Connection parameter is of supertype HttpURLConnection, which allows internal cast to potentially divergent subtype (Https) implementations.- Throws:
IOException
-
-
Method Details
-
getEnabledCipherSuite
This method returns the cipher suite employed in this HttpsURLConnection. -
getLocalCertificates
This method returns the certificates that were used to authenticate to the peer. -
getLocalPrincipal
This method returns the Princpal that authenticated to the peer. -
getServerCertificates
This method returns the certificates presented by the peer for authentication. -
getPeerPrincipal
This method returns the Principal that represents the authenticated peer.
-