|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceConnection
Interface to allow the abstraction of the raw transport information
Method Summary | |
---|---|
void |
connect()
Make an outgoing connection. |
void |
disconnect()
Disconnect from the outgoing connection |
InputStream |
getErrorStream()
|
String |
getHost()
Return the name of the host that is specified as the web service target |
String |
getPath()
Return the path to the web service target |
int |
getPort()
Return the port number of the host that is specified as the web service target |
List |
getResponseProperties()
Returns to the caller all of the headers that were returned with the response to the SOAP request. |
InputStream |
openInputStream()
Opens and returns the inputstream from which to parse the result of the soap call. |
OutputStream |
openOutputStream()
Open and return the outputStream to the endpoint. |
void |
setRequestMethod(String requestMethodType)
Sets how to make the requests. |
void |
setRequestProperty(String propertyName,
String value)
Set properties on the outgoing connection. |
Method Detail |
---|
void connect() throws IOException
IOException
void disconnect() throws IOException
IOException
List getResponseProperties() throws IOException
IOException
void setRequestProperty(String propertyName, String value) throws IOException
propertyName
- the name of the property to set. For HTTP connections these
are the request properties in the HTTP Header.value
- the string to set the property header to.
IOException
void setRequestMethod(String requestMethodType) throws IOException
requestMethodType
- the type of request method to make the soap call with.
IOException
OutputStream openOutputStream() throws IOException
IOException
InputStream openInputStream() throws IOException
IOException
InputStream getErrorStream()
String getHost()
int getPort()
String getPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |