Class PassThroughMessageHandler
- java.lang.Object
-
- org.apache.synapse.transport.util.PassThroughMessageHandler
-
- All Implemented Interfaces:
MessageHandler
public class PassThroughMessageHandler extends Object implements MessageHandler
Message handler to handle the messages coming through Pass-Through transport.
-
-
Constructor Summary
Constructors Constructor Description PassThroughMessageHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildMessage(org.apache.axis2.context.MessageContext messageContext)
void
buildMessage(org.apache.axis2.context.MessageContext messageContext, boolean earlyBuild)
InputStream
getMessageDataStream(org.apache.axis2.context.MessageContext context)
boolean
isMessageBiggerThanBuffer(ReadableByteChannel src, WritableByteChannel dest)
-
-
-
Method Detail
-
getMessageDataStream
public InputStream getMessageDataStream(org.apache.axis2.context.MessageContext context) throws IOException
- Specified by:
getMessageDataStream
in interfaceMessageHandler
- Throws:
IOException
-
buildMessage
public void buildMessage(org.apache.axis2.context.MessageContext messageContext) throws XMLStreamException, IOException
- Specified by:
buildMessage
in interfaceMessageHandler
- Throws:
XMLStreamException
IOException
-
buildMessage
public void buildMessage(org.apache.axis2.context.MessageContext messageContext, boolean earlyBuild) throws XMLStreamException, IOException
- Specified by:
buildMessage
in interfaceMessageHandler
- Throws:
XMLStreamException
IOException
-
isMessageBiggerThanBuffer
public boolean isMessageBiggerThanBuffer(ReadableByteChannel src, WritableByteChannel dest) throws IOException
- Throws:
IOException
-
-