org.apache.axis2.transport
Class AbstractTransportSender
java.lang.Object
org.apache.axis2.handlers.AbstractHandler
org.apache.axis2.transport.AbstractTransportSender
- All Implemented Interfaces:
- Handler, java.io.Serializable, TransportSender
- Direct Known Subclasses:
- LocalTransportSender, MailTransportSender, TCPTransportSender
- public abstract class AbstractTransportSender
- extends AbstractHandler
- implements TransportSender
By the time this Class is invoked either the To EPR on the MessageContext
should be set or TRANSPORT_WRITER property set in the message Context with a
Writer. This Class would write the SOAPMessage using either of the methods in
the order To then Writer.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
omOutput
protected OMOutputImpl omOutput
NAME
public static final javax.xml.namespace.QName NAME
- Field NAME
AbstractTransportSender
public AbstractTransportSender()
- Constructor AbstractTransportSender
init
public void init(ConfigurationContext confContext,
TransportOutDescription transportOut)
throws AxisFault
- Description copied from interface:
TransportSender
- Initialize
- Specified by:
init
in interface TransportSender
- Parameters:
confContext
- transportOut
-
- Throws:
AxisFault
invoke
public void invoke(MessageContext msgContext)
throws AxisFault
- Method invoke
- Specified by:
invoke
in interface Handler
- Parameters:
msgContext
-
- Throws:
AxisFault
writeMessage
public void writeMessage(MessageContext msgContext,
java.io.OutputStream out)
throws AxisFault
- Throws:
AxisFault
startSendWithToAddress
public abstract java.io.OutputStream startSendWithToAddress(MessageContext msgContext,
java.io.OutputStream out)
throws AxisFault
- Throws:
AxisFault
finalizeSendWithToAddress
public abstract void finalizeSendWithToAddress(MessageContext msgContext,
java.io.OutputStream out)
throws AxisFault
- Throws:
AxisFault
startSendWithOutputStreamFromIncomingConnection
public abstract java.io.OutputStream startSendWithOutputStreamFromIncomingConnection(MessageContext msgContext,
java.io.OutputStream out)
throws AxisFault
- Throws:
AxisFault
finalizeSendWithOutputStreamFromIncomingConnection
public abstract void finalizeSendWithOutputStreamFromIncomingConnection(MessageContext msgContext,
java.io.OutputStream out)
throws AxisFault
- Throws:
AxisFault
openTheConnection
protected abstract java.io.OutputStream openTheConnection(EndpointReference epr,
MessageContext msgctx)
throws AxisFault
- Throws:
AxisFault