public interface Transport
| Modifier and Type | Method and Description |
|---|---|
java.io.OutputStream |
connect(java.lang.String endpoint,
java.util.HashMap<java.lang.String,java.lang.String> headers) |
java.io.OutputStream |
connect(java.lang.String endpoint,
java.util.HashMap<java.lang.String,java.lang.String> httpHeaders,
boolean b) |
java.io.OutputStream |
connect(java.lang.String url,
java.lang.String soapAction)
Connect to the specified endpoint.
|
java.io.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)
java.io.OutputStream connect(java.lang.String url,
java.lang.String soapAction)
throws java.io.IOException
url - endpoint addresssoapAction - soap actionjava.io.IOException - failed to connect to the endpointjava.io.InputStream getContent()
throws java.io.IOException
java.io.IOException - failed to get contentboolean isSuccessful()
java.io.OutputStream connect(java.lang.String endpoint,
java.util.HashMap<java.lang.String,java.lang.String> headers)
throws java.io.IOException
java.io.IOExceptionjava.io.OutputStream connect(java.lang.String endpoint,
java.util.HashMap<java.lang.String,java.lang.String> httpHeaders,
boolean b)
throws java.io.IOException
java.io.IOExceptionCopyright © 2019. All Rights Reserved.