public interface ProtocolConnectionFactory
Modifier and Type | Method and Description |
---|---|
ProtocolConnection |
getConnection(String type,
String args,
KeyStore trustStore) |
ProtocolConnection |
getHttpConnection(String uri,
ClientConfiguration clientConfig,
HttpConfiguration httpConfig)
Creates an vAPI client that uses HTTP connection.
|
ProtocolConnection |
getInsecureConnection(String type,
String args) |
ProtocolConnection getConnection(String type, String args, KeyStore trustStore)
ProtocolConnection getInsecureConnection(String type, String args)
ProtocolConnection getHttpConnection(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.Copyright © 2015. All Rights Reserved.