|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.hessian.client.AbstractHessianConnection
public abstract class AbstractHessianConnection
Internal connection to a server. The default connection is based on java.net
| Constructor Summary | |
|---|---|
AbstractHessianConnection()
|
|
| Method Summary | |
|---|---|
void |
addHeader(String key,
String value)
Adds HTTP headers. |
void |
close()
Close/free the connection, using keepalive if appropriate. |
abstract void |
destroy()
Destroy/disconnect the connection |
String |
getContentEncoding()
Returns the content encoding |
abstract InputStream |
getInputStream()
Returns the InputStream to the result |
abstract OutputStream |
getOutputStream()
Returns the output stream for the request. |
abstract int |
getStatusCode()
Returns the status code. |
abstract String |
getStatusMessage()
Returns the status string. |
abstract void |
sendRequest()
Sends the query |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractHessianConnection()
| Method Detail |
|---|
public void addHeader(String key,
String value)
addHeader in interface HessianConnection
public abstract OutputStream getOutputStream()
throws IOException
getOutputStream in interface HessianConnectionIOException
public abstract void sendRequest()
throws IOException
sendRequest in interface HessianConnectionIOExceptionpublic abstract int getStatusCode()
getStatusCode in interface HessianConnectionpublic abstract String getStatusMessage()
getStatusMessage in interface HessianConnection
public abstract InputStream getInputStream()
throws IOException
getInputStream in interface HessianConnectionIOExceptionpublic String getContentEncoding()
HessianConnection
getContentEncoding in interface HessianConnection
public void close()
throws IOException
close in interface HessianConnectionIOException
public abstract void destroy()
throws IOException
destroy in interface HessianConnectionIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||