public class THTTPSInvocation extends THTTPInvocation
PROP_RETRY
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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)
|
doClose, doInvoke, getSocketTimeout, isDisconnectAfterClose, setDisconnectAfterClose, setLocale, setSocketTimeout
addRetryHandler, checkServerAvailabilityAndVersion, close, getDatabaseUri, getDomain, getLastExecutedCommandStatement, getLastNonActivityTimeoutRelevantInvokeTimeMillis, getLocale, getPassword, getPooledConnectionReconnectHandler, getSecurityToken, getTransactionModeCoordinator, getUserId, invoke, invoke, invoke, isClosed, setPooledConnectionReconnectHandler, setTransactionModeCoordinator, supports, updateStreamHeader
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 authenticationTInvocationException
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) connectionTInvocationException
Copyright (c) 2017 Software AG. All Rights Reserved.