Class AxisHttpConnectionImpl
- java.lang.Object
-
- org.apache.axis2.transport.http.server.AxisHttpConnectionImpl
-
- All Implemented Interfaces:
Closeable,AutoCloseable,AxisHttpConnection,org.apache.http.HttpConnection,org.apache.http.HttpInetConnection
public class AxisHttpConnectionImpl extends Object implements AxisHttpConnection
-
-
Constructor Summary
Constructors Constructor Description AxisHttpConnectionImpl(Socket socket, org.apache.http.params.HttpParams params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()InputStreamgetInputStream()InetAddressgetLocalAddress()intgetLocalPort()org.apache.http.HttpConnectionMetricsgetMetrics()OutputStreamgetOutputStream()InetAddressgetRemoteAddress()intgetRemotePort()intgetSocketTimeout()booleanisOpen()booleanisStale()org.apache.http.HttpRequestreceiveRequest()voidreset()voidsendResponse(org.apache.http.HttpResponse response)voidsetSocketTimeout(int timeout)voidshutdown()StringtoString()
-
-
-
Constructor Detail
-
AxisHttpConnectionImpl
public AxisHttpConnectionImpl(Socket socket, org.apache.http.params.HttpParams params) throws IOException
- Throws:
IOException
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.http.HttpConnection- Throws:
IOException
-
isOpen
public boolean isOpen()
- Specified by:
isOpenin interfaceorg.apache.http.HttpConnection
-
isStale
public boolean isStale()
- Specified by:
isStalein interfaceorg.apache.http.HttpConnection
-
shutdown
public void shutdown() throws IOException- Specified by:
shutdownin interfaceorg.apache.http.HttpConnection- Throws:
IOException
-
receiveRequest
public org.apache.http.HttpRequest receiveRequest() throws org.apache.http.HttpException, IOException- Specified by:
receiveRequestin interfaceAxisHttpConnection- Throws:
org.apache.http.HttpExceptionIOException
-
sendResponse
public void sendResponse(org.apache.http.HttpResponse response) throws org.apache.http.HttpException, IOException- Specified by:
sendResponsein interfaceAxisHttpConnection- Throws:
org.apache.http.HttpExceptionIOException
-
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStreamin interfaceAxisHttpConnection
-
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStreamin interfaceAxisHttpConnection
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceAxisHttpConnection- Throws:
IOException
-
reset
public void reset() throws IOException- Specified by:
resetin interfaceAxisHttpConnection- Throws:
IOException
-
getSocketTimeout
public int getSocketTimeout()
- Specified by:
getSocketTimeoutin interfaceorg.apache.http.HttpConnection
-
setSocketTimeout
public void setSocketTimeout(int timeout)
- Specified by:
setSocketTimeoutin interfaceorg.apache.http.HttpConnection
-
getLocalAddress
public InetAddress getLocalAddress()
- Specified by:
getLocalAddressin interfaceorg.apache.http.HttpInetConnection
-
getLocalPort
public int getLocalPort()
- Specified by:
getLocalPortin interfaceorg.apache.http.HttpInetConnection
-
getRemoteAddress
public InetAddress getRemoteAddress()
- Specified by:
getRemoteAddressin interfaceorg.apache.http.HttpInetConnection
-
getRemotePort
public int getRemotePort()
- Specified by:
getRemotePortin interfaceorg.apache.http.HttpInetConnection
-
getMetrics
public org.apache.http.HttpConnectionMetrics getMetrics()
- Specified by:
getMetricsin interfaceorg.apache.http.HttpConnection
-
-