protected class AxisServlet.ServletRequestResponseTransport extends Object implements RequestResponseTransport
RequestResponseTransport.RequestResponseTransportStatusHOLD_RESPONSE, TRANSPORT_CONTROL| Modifier | Constructor and Description |
|---|---|
protected |
ServletRequestResponseTransport() |
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledgeMessage(MessageContext msgContext)
Notify the transport that a message should be acknowledged at this time.
|
void |
awaitResponse()
Pause execution and wait for a response message to be ready.
|
RequestResponseTransport.RequestResponseTransportStatus |
getStatus()
This gives the current status of an RequestResponseTransport object.
|
boolean |
isResponseWritten()
This will indicate whether or not the response has already been written
|
void |
setResponseWritten(boolean responseWritten)
This is used to set the response written flag on the RequestResponseTransport
instance
|
void |
signalFaultReady(AxisFault fault)
This will tell the transport to end a current wait by raising the given fault.
|
void |
signalResponseReady()
Signal that a response has be created and is ready for transmission.
|
public void acknowledgeMessage(MessageContext msgContext) throws AxisFault
RequestResponseTransportacknowledgeMessage in interface RequestResponseTransportAxisFaultpublic void awaitResponse()
throws InterruptedException,
AxisFault
RequestResponseTransportawaitResponse in interface RequestResponseTransportInterruptedExceptionAxisFaultpublic void signalResponseReady()
RequestResponseTransportsignalResponseReady in interface RequestResponseTransportpublic RequestResponseTransport.RequestResponseTransportStatus getStatus()
RequestResponseTransportgetStatus in interface RequestResponseTransportpublic void signalFaultReady(AxisFault fault)
RequestResponseTransportsignalFaultReady in interface RequestResponseTransportfault - The fault to be raised.public boolean isResponseWritten()
RequestResponseTransportisResponseWritten in interface RequestResponseTransportpublic void setResponseWritten(boolean responseWritten)
RequestResponseTransportsetResponseWritten in interface RequestResponseTransportCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.