Class HttpSession
- java.lang.Object
-
- com.avaya.clientservices.network.http.HttpSession
-
- All Implemented Interfaces:
IdentityHandler
public class HttpSession extends java.lang.Object implements IdentityHandler
Java counterpart of CHttpSession
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONTEXT_ATTRIBUTE_INITIAL_URIstatic java.lang.StringCONTEXT_ATTRIBUTE_REDIRECTION_HISTORY
-
Constructor Summary
Constructors Constructor Description HttpSession(CertificateManager certificateManager, boolean overridePrivateTrustStore, java.lang.String minTLSVersion, java.util.List<java.lang.String> configuredCipherSuites)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancelAll()booleangetIdentityCertWasRequestedAndNull()com.avaya.clientservices.network.http.HttpTasksendRequest(com.avaya.clientservices.network.http.Request request, com.avaya.clientservices.network.http.IHttpTaskHandler handler, SdkProxyInfo proxyInfo)voidsetIdentityCertWasRequestedAndNull(boolean wasRequested)
-
-
-
Field Detail
-
CONTEXT_ATTRIBUTE_REDIRECTION_HISTORY
public static final java.lang.String CONTEXT_ATTRIBUTE_REDIRECTION_HISTORY
- See Also:
- Constant Field Values
-
CONTEXT_ATTRIBUTE_INITIAL_URI
public static final java.lang.String CONTEXT_ATTRIBUTE_INITIAL_URI
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HttpSession
public HttpSession(CertificateManager certificateManager, boolean overridePrivateTrustStore, java.lang.String minTLSVersion, java.util.List<java.lang.String> configuredCipherSuites) throws java.security.KeyStoreException, java.security.cert.CertificateException, java.security.NoSuchAlgorithmException, java.io.IOException, java.security.UnrecoverableKeyException, java.security.KeyManagementException
- Throws:
java.security.KeyStoreExceptionjava.security.cert.CertificateExceptionjava.security.NoSuchAlgorithmExceptionjava.io.IOExceptionjava.security.UnrecoverableKeyExceptionjava.security.KeyManagementException
-
-
Method Detail
-
sendRequest
public com.avaya.clientservices.network.http.HttpTask sendRequest(com.avaya.clientservices.network.http.Request request, com.avaya.clientservices.network.http.IHttpTaskHandler handler, SdkProxyInfo proxyInfo)
-
cancelAll
public void cancelAll()
-
setIdentityCertWasRequestedAndNull
public void setIdentityCertWasRequestedAndNull(boolean wasRequested)
- Specified by:
setIdentityCertWasRequestedAndNullin interfaceIdentityHandler
-
getIdentityCertWasRequestedAndNull
public boolean getIdentityCertWasRequestedAndNull()
- Specified by:
getIdentityCertWasRequestedAndNullin interfaceIdentityHandler
-
-