|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.invocation.TAbstractInvocation
com.softwareag.tamino.db.api.invocation.http.THTTPInvocation
com.softwareag.tamino.db.api.invocation.http.THTTPSInvocation
public class THTTPSInvocation
Subclass of the standard http invocation. Handles https with given SSL properties to accomplish a 1-way or a 2-way SSL protocol.
Field Summary |
---|
Fields inherited from class com.softwareag.tamino.db.api.invocation.TAbstractInvocation |
---|
PROP_RETRY |
Constructor Summary | |
---|---|
THTTPSInvocation(TUri databaseUri,
SecurityToken securityToken,
TSSLProperties sslProperties)
Initializes the https invocation with ssl properties. |
|
THTTPSInvocation(TUri databaseUri,
java.lang.String userId,
java.lang.String password)
Initializes the https invocation without ssl properties. |
|
THTTPSInvocation(TUri databaseUri,
java.lang.String domain,
java.lang.String userId,
java.lang.String password,
TSSLProperties sslProperties)
Initializes the https invocation with ssl properties. |
|
THTTPSInvocation(TUri databaseUri,
java.lang.String userId,
java.lang.String password,
TSSLProperties sslProperties)
Initializes the https invocation with ssl properties. |
Method Summary | |
---|---|
protected java.net.HttpURLConnection |
getHttpURLConnection(java.lang.String urlString)
Gets a HttpURLConnection for the specified url. |
protected void |
setAuthentication(java.net.HttpURLConnection connection)
Setting authentication to the http(s) connection. |
void |
setSSLProperties(TSSLProperties sslProperties)
Set ssl properties (custom or system properties) |
Methods inherited from class com.softwareag.tamino.db.api.invocation.http.THTTPInvocation |
---|
doClose, doInvoke, getSocketTimeout, setLocale, setSocketTimeout |
Methods inherited from class com.softwareag.tamino.db.api.invocation.TAbstractInvocation |
---|
addRetryHandler, checkServerAvailabilityAndVersion, close, getDatabaseUri, getDomain, getLastExecutedCommandStatement, getLastNonActivityTimeoutRelevantInvokeTimeMillis, getLocale, getPassword, getPooledConnectionReconnectHandler, getSecurityToken, getTransactionModeCoordinator, getUserId, invoke, invoke, invoke, isClosed, setPooledConnectionReconnectHandler, setTransactionModeCoordinator, supports, updateStreamHeader |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public THTTPSInvocation(TUri databaseUri, java.lang.String domain, java.lang.String userId, java.lang.String password, TSSLProperties sslProperties) throws TInvocationException
databaseUri
- the database urluserId
- denotes the user for authenticationpassword
- denotes the password for authenticationsslProperties
- the ssl properties (custom or system properties)
TInvocationException
public THTTPSInvocation(TUri databaseUri, java.lang.String userId, java.lang.String password, TSSLProperties sslProperties) throws TInvocationException
databaseUri
- the database urluserId
- denotes the user for authenticationpassword
- denotes the password for authenticationsslProperties
- the ssl properties (custom or system properties)
TInvocationException
public THTTPSInvocation(TUri databaseUri, SecurityToken securityToken, TSSLProperties sslProperties) throws TInvocationException
databaseUri
- the database urlsecurityToken
- security for authenticationsslProperties
- the ssl properties (custom or system properties)
TInvocationException
public THTTPSInvocation(TUri databaseUri, java.lang.String userId, java.lang.String password) throws TInvocationException
databaseUri
- the database urluserId
- denotes the user for authenticationpassword
- denotes the password for authentication
TInvocationException
Method Detail |
---|
public void setSSLProperties(TSSLProperties sslProperties)
sslProperties
- the propertiesprotected java.net.HttpURLConnection getHttpURLConnection(java.lang.String urlString) throws TCommunicationException
THTTPInvocation
getHttpURLConnection
in class THTTPInvocation
TCommunicationException
protected void setAuthentication(java.net.HttpURLConnection connection) throws TInvocationException
THTTPInvocation
setAuthentication
in class THTTPInvocation
connection
- the http(s) connection
TInvocationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |