org.apache.axis2.transport.tcp
Class TCPTransportSender
java.lang.Object
org.apache.axis2.handlers.AbstractHandler
org.apache.axis2.transport.AbstractTransportSender
org.apache.axis2.transport.tcp.TCPTransportSender
- All Implemented Interfaces:
- Handler, Serializable, TransportSender
- public class TCPTransportSender
- extends AbstractTransportSender
- See Also:
- Serialized Form
out
protected Writer out
- Field out
TCPTransportSender
public TCPTransportSender()
cleanup
public void cleanup(MessageContext msgContext)
throws AxisFault
- Description copied from interface:
TransportSender
- Clean up
- Parameters:
msgContext
-
- Throws:
AxisFault
finalizeSendWithOutputStreamFromIncomingConnection
public void finalizeSendWithOutputStreamFromIncomingConnection(MessageContext msgContext,
OutputStream out)
- Specified by:
finalizeSendWithOutputStreamFromIncomingConnection
in class AbstractTransportSender
finalizeSendWithToAddress
public void finalizeSendWithToAddress(MessageContext msgContext,
OutputStream out)
throws AxisFault
- Specified by:
finalizeSendWithToAddress
in class AbstractTransportSender
- Throws:
AxisFault
openTheConnection
protected OutputStream openTheConnection(EndpointReference toURL,
MessageContext msgContext)
throws AxisFault
- Specified by:
openTheConnection
in class AbstractTransportSender
- Throws:
AxisFault
startSendWithOutputStreamFromIncomingConnection
public OutputStream startSendWithOutputStreamFromIncomingConnection(MessageContext msgContext,
OutputStream out)
throws AxisFault
- Specified by:
startSendWithOutputStreamFromIncomingConnection
in class AbstractTransportSender
- Throws:
AxisFault
startSendWithToAddress
public OutputStream startSendWithToAddress(MessageContext msgContext,
OutputStream out)
- Specified by:
startSendWithToAddress
in class AbstractTransportSender
writeTransportHeaders
protected void writeTransportHeaders(Writer out,
URL url,
MessageContext msgContext,
int contentLength)
throws IOException
- Method writeTransportHeaders
- Parameters:
out
- url
- msgContext
-
- Throws:
IOException
stop
public void stop()