public interface HessianConnection
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(java.lang.String key,
java.lang.String value)
Adds HTTP headers.
|
void |
close()
Close/free the connection.
|
void |
destroy()
Shut the connection down.
|
java.io.InputStream |
getInputStream()
Returns the InputStream to the result
|
java.io.OutputStream |
getOutputStream()
Returns the output stream for the request.
|
int |
getStatusCode()
Returns the status code.
|
java.lang.String |
getStatusMessage()
Returns the status string.
|
void |
sendRequest()
Sends the query
|
void addHeader(java.lang.String key,
java.lang.String value)
java.io.OutputStream getOutputStream()
throws java.io.IOException
java.io.IOExceptionvoid sendRequest()
throws java.io.IOException
java.io.IOExceptionint getStatusCode()
java.lang.String getStatusMessage()
java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionvoid close()
throws java.io.IOException
java.io.IOExceptionvoid destroy()
throws java.io.IOException
java.io.IOException