public interface HessianConnection
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String key,
String value)
Adds HTTP headers.
|
void |
close()
Close/free the connection.
|
void |
destroy()
Shut the connection down.
|
String |
getContentEncoding()
Returns the content encoding
|
InputStream |
getInputStream()
Returns the InputStream to the result
|
OutputStream |
getOutputStream()
Returns the output stream for the request.
|
int |
getStatusCode()
Returns the status code.
|
String |
getStatusMessage()
Returns the status string.
|
void |
sendRequest()
Sends the query
|
OutputStream getOutputStream() throws IOException
IOExceptionvoid sendRequest()
throws IOException
IOExceptionint getStatusCode()
String getStatusMessage()
String getContentEncoding()
InputStream getInputStream() throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionvoid destroy()
throws IOException
IOExceptionCopyright © 2017 Caucho Technology, Inc. All rights reserved.