public class HttpClientConnection extends Object implements com.caucho.hessian.client.HessianConnection
| Constructor and Description |
|---|
HttpClientConnection(org.apache.http.client.HttpClient httpClient,
URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String key,
String value) |
void |
close() |
void |
destroy() |
String |
getContentEncoding() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
int |
getStatusCode() |
String |
getStatusMessage() |
void |
sendRequest() |
public HttpClientConnection(org.apache.http.client.HttpClient httpClient,
URL url)
public void addHeader(String key, String value)
addHeader in interface com.caucho.hessian.client.HessianConnectionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface com.caucho.hessian.client.HessianConnectionIOExceptionpublic void sendRequest()
throws IOException
sendRequest in interface com.caucho.hessian.client.HessianConnectionIOExceptionpublic int getStatusCode()
getStatusCode in interface com.caucho.hessian.client.HessianConnectionpublic String getStatusMessage()
getStatusMessage in interface com.caucho.hessian.client.HessianConnectionpublic String getContentEncoding()
getContentEncoding in interface com.caucho.hessian.client.HessianConnectionpublic InputStream getInputStream() throws IOException
getInputStream in interface com.caucho.hessian.client.HessianConnectionIOExceptionpublic void close()
throws IOException
close in interface com.caucho.hessian.client.HessianConnectionIOExceptionpublic void destroy()
throws IOException
destroy in interface com.caucho.hessian.client.HessianConnectionIOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.