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, java.io.Serializable, TransportSender
- public class TCPTransportSender
- extends AbstractTransportSender
- See Also:
- Serialized Form
Field Summary |
protected java.io.Writer |
out
Field out |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
out
protected java.io.Writer out
- Field out
TCPTransportSender
public TCPTransportSender()
writeTransportHeaders
protected void writeTransportHeaders(java.io.Writer out,
URL url,
MessageContext msgContext,
int contentLength)
throws java.io.IOException
- Method writeTransportHeaders
- Parameters:
out
- url
- msgContext
-
- Throws:
java.io.IOException
finalizeSendWithOutputStreamFromIncomingConnection
public void finalizeSendWithOutputStreamFromIncomingConnection(MessageContext msgContext,
java.io.OutputStream out)
- Specified by:
finalizeSendWithOutputStreamFromIncomingConnection
in class AbstractTransportSender
finalizeSendWithToAddress
public void finalizeSendWithToAddress(MessageContext msgContext,
java.io.OutputStream out)
throws AxisFault
- Specified by:
finalizeSendWithToAddress
in class AbstractTransportSender
- Throws:
AxisFault
openTheConnection
protected java.io.OutputStream openTheConnection(EndpointReference toURL,
MessageContext msgContext)
throws AxisFault
- Specified by:
openTheConnection
in class AbstractTransportSender
- Throws:
AxisFault
startSendWithOutputStreamFromIncomingConnection
public java.io.OutputStream startSendWithOutputStreamFromIncomingConnection(MessageContext msgContext,
java.io.OutputStream out)
throws AxisFault
- Specified by:
startSendWithOutputStreamFromIncomingConnection
in class AbstractTransportSender
- Throws:
AxisFault
startSendWithToAddress
public java.io.OutputStream startSendWithToAddress(MessageContext msgContext,
java.io.OutputStream out)
- Specified by:
startSendWithToAddress
in class AbstractTransportSender
cleanUp
public void cleanUp(MessageContext msgContext)
throws AxisFault
- Description copied from interface:
TransportSender
- Clean up
- Parameters:
msgContext
-
- Throws:
AxisFault