public interface ProtocolConnectionFactory
Modifier and Type | Method and Description |
---|---|
ProtocolConnection |
getConnection(java.lang.String type,
java.lang.String args,
java.security.KeyStore trustStore) |
ProtocolConnection |
getHttpConnection(java.lang.String uri,
ClientConfiguration clientConfig,
HttpConfiguration httpConfig)
Creates an vAPI client that uses HTTP connection.
|
ProtocolConnection |
getInsecureConnection(java.lang.String type,
java.lang.String args) |
ProtocolConnection getConnection(java.lang.String type, java.lang.String args, java.security.KeyStore trustStore)
ProtocolConnection getInsecureConnection(java.lang.String type, java.lang.String args)
ProtocolConnection getHttpConnection(java.lang.String uri, ClientConfiguration clientConfig, HttpConfiguration httpConfig)
uri
- URI representing the server to connect. Should be of the form
http(s)://[IP_address]:[port]/[Service_endpoint]. Can
not be null.clientConfig
- the client configuration. can be null.httpConfig
- the transport configuration. can be null.