org.apache.axis2.transport.mail
Class MailTransportSender
java.lang.Object
org.apache.axis2.handlers.AbstractHandler
org.apache.axis2.transport.AbstractTransportSender
org.apache.axis2.transport.mail.MailTransportSender
- All Implemented Interfaces:
- Handler, TransportSender
- public class MailTransportSender
- extends AbstractTransportSender
MailTransportSender
public MailTransportSender()
init
public void init(ConfigurationContext configurationContext,
TransportOutDescription transportOut)
throws AxisFault
- Description copied from interface:
TransportSender
- Initialize
- Specified by:
init
in interface TransportSender
- Overrides:
init
in class AbstractTransportSender
- Throws:
AxisFault
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)
throws AxisFault
- Specified by:
finalizeSendWithOutputStreamFromIncomingConnection
in class AbstractTransportSender
- Throws:
AxisFault
finalizeSendWithToAddress
public void finalizeSendWithToAddress(MessageContext msgContext,
OutputStream out)
throws AxisFault
- Specified by:
finalizeSendWithToAddress
in class AbstractTransportSender
- Throws:
AxisFault
openTheConnection
protected OutputStream openTheConnection(EndpointReference epr,
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)
throws AxisFault
- Specified by:
startSendWithToAddress
in class AbstractTransportSender
- Throws:
AxisFault
writeMessage
public void writeMessage(MessageContext msgContext,
OutputStream out)
throws AxisFault
- Overrides:
writeMessage
in class AbstractTransportSender
- Throws:
AxisFault
stop
public void stop()