|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.handlers.AbstractHandler
org.apache.axis2.transport.java.JavaTransportSender
public class JavaTransportSender
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler |
---|
Handler.InvocationResponse |
Field Summary |
---|
Fields inherited from class org.apache.axis2.handlers.AbstractHandler |
---|
handlerDesc |
Constructor Summary | |
---|---|
JavaTransportSender()
|
Method Summary | |
---|---|
void |
cleanup(MessageContext msgContext)
Release resources associated with a given message context. |
void |
init(ConfigurationContext confContext,
TransportOutDescription transportOut)
Initialize |
Handler.InvocationResponse |
invoke(MessageContext msgContext)
This method will be called on each registered handler when a message needs to be processed. |
void |
stop()
|
Methods inherited from class org.apache.axis2.handlers.AbstractHandler |
---|
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.axis2.engine.Handler |
---|
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init |
Constructor Detail |
---|
public JavaTransportSender()
Method Detail |
---|
public void cleanup(MessageContext msgContext) throws AxisFault
TransportSender
This method is mainly useful for connection oriented transports that return from
Handler.invoke(MessageContext)
before the entire response is available. A transport of
this type will construct an InputStream
object and set it as the
MessageContext.TRANSPORT_IN
property on the
OperationContext
). In order for this to work, the
connection must remain open until the response has been processed. This method is then
used to release the connection explicitly.
cleanup
in interface TransportSender
AxisFault
public void init(ConfigurationContext confContext, TransportOutDescription transportOut) throws AxisFault
TransportSender
init
in interface TransportSender
AxisFault
public void stop()
stop
in interface TransportSender
public Handler.InvocationResponse invoke(MessageContext msgContext) throws AxisFault
Handler
invoke
in interface Handler
msgContext
- the MessageContext
to process with this
Handler
.
AxisFault
- if the handler encounters an error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |