org.apache.axis2.transport.http.server
Class AxisHttpConnectionImpl
java.lang.Object
org.apache.axis2.transport.http.server.AxisHttpConnectionImpl
- All Implemented Interfaces:
- AxisHttpConnection, org.apache.http.HttpConnection, org.apache.http.HttpInetConnection
public class AxisHttpConnectionImpl
- extends Object
- implements AxisHttpConnection
AxisHttpConnectionImpl
public AxisHttpConnectionImpl(Socket socket,
org.apache.http.params.HttpParams params)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface org.apache.http.HttpConnection
- Throws:
IOException
isOpen
public boolean isOpen()
- Specified by:
isOpen in interface org.apache.http.HttpConnection
isStale
public boolean isStale()
- Specified by:
isStale in interface org.apache.http.HttpConnection
shutdown
public void shutdown()
throws IOException
- Specified by:
shutdown in interface org.apache.http.HttpConnection
- Throws:
IOException
receiveRequest
public org.apache.http.HttpRequest receiveRequest()
throws org.apache.http.HttpException,
IOException
- Specified by:
receiveRequest in interface AxisHttpConnection
- Throws:
org.apache.http.HttpException
IOException
sendResponse
public void sendResponse(org.apache.http.HttpResponse response)
throws org.apache.http.HttpException,
IOException
- Specified by:
sendResponse in interface AxisHttpConnection
- Throws:
org.apache.http.HttpException
IOException
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStream in interface AxisHttpConnection
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStream in interface AxisHttpConnection
flush
public void flush()
throws IOException
- Specified by:
flush in interface AxisHttpConnection
- Throws:
IOException
reset
public void reset()
throws IOException
- Specified by:
reset in interface AxisHttpConnection
- Throws:
IOException
getSocketTimeout
public int getSocketTimeout()
- Specified by:
getSocketTimeout in interface org.apache.http.HttpConnection
setSocketTimeout
public void setSocketTimeout(int timeout)
- Specified by:
setSocketTimeout in interface org.apache.http.HttpConnection
getLocalAddress
public InetAddress getLocalAddress()
- Specified by:
getLocalAddress in interface org.apache.http.HttpInetConnection
getLocalPort
public int getLocalPort()
- Specified by:
getLocalPort in interface org.apache.http.HttpInetConnection
getRemoteAddress
public InetAddress getRemoteAddress()
- Specified by:
getRemoteAddress in interface org.apache.http.HttpInetConnection
getRemotePort
public int getRemotePort()
- Specified by:
getRemotePort in interface org.apache.http.HttpInetConnection
getMetrics
public org.apache.http.HttpConnectionMetrics getMetrics()
- Specified by:
getMetrics in interface org.apache.http.HttpConnection
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.