org.apache.synapse.transport.nhttp
Class HttpCoreRequestResponseTransport
java.lang.Object
org.apache.synapse.transport.nhttp.HttpCoreRequestResponseTransport
- All Implemented Interfaces:
- RequestResponseTransport
public class HttpCoreRequestResponseTransport
- extends Object
- implements RequestResponseTransport
This interface is a point of control for Axis2 to control the behaviour of a Request-Response
transport such as HTTP/s
For nhttp, this does not make much of a difference, as we are capable of keeping a socket open
and writing to it from a different thread, while letting the initial thread that read the
request go free.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
acknowledgeMessage
public void acknowledgeMessage(MessageContext msgContext)
throws AxisFault
- Specified by:
acknowledgeMessage
in interface RequestResponseTransport
- Throws:
AxisFault
awaitResponse
public void awaitResponse()
throws InterruptedException,
AxisFault
- Specified by:
awaitResponse
in interface RequestResponseTransport
- Throws:
InterruptedException
AxisFault
signalResponseReady
public void signalResponseReady()
- Specified by:
signalResponseReady
in interface RequestResponseTransport
getStatus
public RequestResponseTransport.RequestResponseTransportStatus getStatus()
- Specified by:
getStatus
in interface RequestResponseTransport
signalFaultReady
public void signalFaultReady(AxisFault fault)
- Specified by:
signalFaultReady
in interface RequestResponseTransport
isResponseWritten
public boolean isResponseWritten()
- Specified by:
isResponseWritten
in interface RequestResponseTransport
setResponseWritten
public void setResponseWritten(boolean responseWritten)
- Specified by:
setResponseWritten
in interface RequestResponseTransport
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.