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.lang.String |
getContentEncoding()
Returns the content encoding
|
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.IOException
void sendRequest() throws java.io.IOException
java.io.IOException
int getStatusCode()
java.lang.String getStatusMessage()
java.lang.String getContentEncoding()
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
void close() throws java.io.IOException
java.io.IOException
void destroy() throws java.io.IOException
java.io.IOException