public class AxisHttpConnectionImpl extends Object implements AxisHttpConnection
| Constructor and Description |
|---|
AxisHttpConnectionImpl(Socket socket,
org.apache.http.params.HttpParams params) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
InputStream |
getInputStream() |
InetAddress |
getLocalAddress() |
int |
getLocalPort() |
org.apache.http.HttpConnectionMetrics |
getMetrics() |
OutputStream |
getOutputStream() |
InetAddress |
getRemoteAddress() |
int |
getRemotePort() |
int |
getSocketTimeout() |
boolean |
isOpen() |
boolean |
isStale() |
org.apache.http.HttpRequest |
receiveRequest() |
void |
reset() |
void |
sendResponse(org.apache.http.HttpResponse response) |
void |
setSocketTimeout(int timeout) |
void |
shutdown() |
String |
toString() |
public AxisHttpConnectionImpl(Socket socket, org.apache.http.params.HttpParams params) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.apache.http.HttpConnectionIOExceptionpublic boolean isOpen()
isOpen in interface org.apache.http.HttpConnectionpublic boolean isStale()
isStale in interface org.apache.http.HttpConnectionpublic void shutdown()
throws IOException
shutdown in interface org.apache.http.HttpConnectionIOExceptionpublic org.apache.http.HttpRequest receiveRequest()
throws org.apache.http.HttpException,
IOException
receiveRequest in interface AxisHttpConnectionorg.apache.http.HttpExceptionIOExceptionpublic void sendResponse(org.apache.http.HttpResponse response)
throws org.apache.http.HttpException,
IOException
sendResponse in interface AxisHttpConnectionorg.apache.http.HttpExceptionIOExceptionpublic InputStream getInputStream()
getInputStream in interface AxisHttpConnectionpublic OutputStream getOutputStream()
getOutputStream in interface AxisHttpConnectionpublic void flush()
throws IOException
flush in interface AxisHttpConnectionIOExceptionpublic void reset()
throws IOException
reset in interface AxisHttpConnectionIOExceptionpublic int getSocketTimeout()
getSocketTimeout in interface org.apache.http.HttpConnectionpublic void setSocketTimeout(int timeout)
setSocketTimeout in interface org.apache.http.HttpConnectionpublic InetAddress getLocalAddress()
getLocalAddress in interface org.apache.http.HttpInetConnectionpublic int getLocalPort()
getLocalPort in interface org.apache.http.HttpInetConnectionpublic InetAddress getRemoteAddress()
getRemoteAddress in interface org.apache.http.HttpInetConnectionpublic int getRemotePort()
getRemotePort in interface org.apache.http.HttpInetConnectionpublic org.apache.http.HttpConnectionMetrics getMetrics()
getMetrics in interface org.apache.http.HttpConnectionCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.