public class AxisHttpConnectionImpl extends java.lang.Object implements AxisHttpConnection
| Constructor and Description |
|---|
AxisHttpConnectionImpl(java.net.Socket socket,
org.apache.http.params.HttpParams params) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
java.io.InputStream |
getInputStream() |
java.net.InetAddress |
getLocalAddress() |
int |
getLocalPort() |
org.apache.http.HttpConnectionMetrics |
getMetrics() |
java.io.OutputStream |
getOutputStream() |
java.net.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() |
java.lang.String |
toString() |
public AxisHttpConnectionImpl(java.net.Socket socket,
org.apache.http.params.HttpParams params)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface org.apache.http.HttpConnectionjava.io.IOExceptionpublic boolean isOpen()
isOpen in interface org.apache.http.HttpConnectionpublic boolean isStale()
isStale in interface org.apache.http.HttpConnectionpublic void shutdown()
throws java.io.IOException
shutdown in interface org.apache.http.HttpConnectionjava.io.IOExceptionpublic org.apache.http.HttpRequest receiveRequest()
throws org.apache.http.HttpException,
java.io.IOException
receiveRequest in interface AxisHttpConnectionorg.apache.http.HttpExceptionjava.io.IOExceptionpublic void sendResponse(org.apache.http.HttpResponse response)
throws org.apache.http.HttpException,
java.io.IOException
sendResponse in interface AxisHttpConnectionorg.apache.http.HttpExceptionjava.io.IOExceptionpublic java.io.InputStream getInputStream()
getInputStream in interface AxisHttpConnectionpublic java.io.OutputStream getOutputStream()
getOutputStream in interface AxisHttpConnectionpublic void flush()
throws java.io.IOException
flush in interface AxisHttpConnectionjava.io.IOExceptionpublic void reset()
throws java.io.IOException
reset in interface AxisHttpConnectionjava.io.IOExceptionpublic int getSocketTimeout()
getSocketTimeout in interface org.apache.http.HttpConnectionpublic void setSocketTimeout(int timeout)
setSocketTimeout in interface org.apache.http.HttpConnectionpublic java.net.InetAddress getLocalAddress()
getLocalAddress in interface org.apache.http.HttpInetConnectionpublic int getLocalPort()
getLocalPort in interface org.apache.http.HttpInetConnectionpublic java.net.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.HttpConnectionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.