public class ETSoapConnection extends Object
ETSoapConnection
represents an active
connection to the SOAP API.Constructor and Description |
---|
ETSoapConnection(ETClient client,
String endpoint)
Class constructor, Initializes a new instance of the class.
|
ETSoapConnection(ETClient client,
String endpoint,
String accessToken)
Class constructor, Initializes a new instance of the class.
|
ETSoapConnection(ETClient client,
String endpoint,
String username,
String password)
Class constructor, Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
String |
getEndpoint() |
Soap |
getSoap() |
Soap |
getSoap(String m) |
Soap |
getSoap(String m,
String o) |
void |
setAccessToken(String accessToken) |
public ETSoapConnection(ETClient client, String endpoint) throws ETSdkException
client
- The ETClient objectendpoint
- The endpoint URLETSdkException
public ETSoapConnection(ETClient client, String endpoint, String username, String password) throws ETSdkException
client
- The ETClient objectendpoint
- The endpoint URLusername
- The usernamepassword
- The passwordETSdkException
public ETSoapConnection(ETClient client, String endpoint, String accessToken) throws ETSdkException
client
- The ETClient objectendpoint
- The endpoint URLaccessToken
- The access tokenETSdkException
public Soap getSoap()
public String getEndpoint()
public void setAccessToken(String accessToken) throws ETSdkException
accessToken
- The access tokenETSdkException
Copyright © 2017. All rights reserved.