|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HessianConnection
Internal connection to a server. The default connection is based on java.net
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
void addHeader(String key,
String value)
OutputStream getOutputStream()
throws IOException
IOException
void sendRequest()
throws IOException
IOExceptionint getStatusCode()
String getStatusMessage()
String getContentEncoding()
InputStream getInputStream()
throws IOException
IOException
void close()
throws IOException
IOException
void destroy()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||