public abstract class AbstractHessianConnection extends java.lang.Object implements HessianConnection
| Constructor and Description | 
|---|
| AbstractHessianConnection() | 
| 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, using keepalive if appropriate. | 
| abstract void | destroy()Destroy/disconnect the connection | 
| java.lang.String | getContentEncoding()Returns the content encoding | 
| abstract java.io.InputStream | getInputStream()Returns the InputStream to the result | 
| abstract java.io.OutputStream | getOutputStream()Returns the output stream for the request. | 
| abstract int | getStatusCode()Returns the status code. | 
| abstract java.lang.String | getStatusMessage()Returns the status string. | 
| abstract void | sendRequest()Sends the query | 
public void addHeader(java.lang.String key,
                      java.lang.String value)
addHeader in interface HessianConnectionpublic abstract java.io.OutputStream getOutputStream()
                                              throws java.io.IOException
getOutputStream in interface HessianConnectionjava.io.IOExceptionpublic abstract void sendRequest()
                          throws java.io.IOException
sendRequest in interface HessianConnectionjava.io.IOExceptionpublic abstract int getStatusCode()
getStatusCode in interface HessianConnectionpublic abstract java.lang.String getStatusMessage()
getStatusMessage in interface HessianConnectionpublic abstract java.io.InputStream getInputStream()
                                            throws java.io.IOException
getInputStream in interface HessianConnectionjava.io.IOExceptionpublic java.lang.String getContentEncoding()
HessianConnectiongetContentEncoding in interface HessianConnectionpublic void close()
           throws java.io.IOException
close in interface HessianConnectionjava.io.IOExceptionpublic abstract void destroy()
                      throws java.io.IOException
destroy in interface HessianConnectionjava.io.IOException