public interface Transport
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
connect(String endpoint,
HashMap<String,String> headers) |
OutputStream |
connect(String endpoint,
HashMap<String,String> httpHeaders,
boolean b) |
OutputStream |
connect(String url,
String soapAction)
Connect to the specified endpoint.
|
InputStream |
getContent()
returns the response from the endpoint.
|
boolean |
isSuccessful()
checks whether the response from the remote server is successful or not.
|
void |
setConfig(ConnectorConfig config) |
void setConfig(ConnectorConfig config)
OutputStream connect(String url, String soapAction) throws IOException
url - endpoint addresssoapAction - soap actionIOException - failed to connect to the endpointInputStream getContent() throws IOException
IOException - failed to get contentboolean isSuccessful()
OutputStream connect(String endpoint, HashMap<String,String> headers) throws IOException
IOExceptionOutputStream connect(String endpoint, HashMap<String,String> httpHeaders, boolean b) throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.