public class Connection
extends java.lang.Object
| Constructor and Description |
|---|
Connection(Connector connector,
ConnectionData data)
Defines a connection with given connector and connection data.
|
| Modifier and Type | Method and Description |
|---|---|
RawResponse |
doRequest(RawRequest request)
Send the given raw request with defined connector using defined
connection data.
|
ConnectionData |
getConnectionData()
Return the connection data.
|
public Connection(Connector connector, ConnectionData data)
connector - connectordata - connection datapublic ConnectionData getConnectionData()
public RawResponse doRequest(RawRequest request)
request - the raw request to be send using the connector and connection
dataConnectionException - a connection exception