|
|||||||||
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(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 |
Method Detail |
---|
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.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |