protected class AxisServlet.ServletRequestResponseTransport extends Object implements RequestResponseTransport
RequestResponseTransport.RequestResponseTransportStatus
HOLD_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
RequestResponseTransport
acknowledgeMessage
in interface RequestResponseTransport
AxisFault
public void awaitResponse() throws InterruptedException, AxisFault
RequestResponseTransport
awaitResponse
in interface RequestResponseTransport
InterruptedException
AxisFault
public void signalResponseReady()
RequestResponseTransport
signalResponseReady
in interface RequestResponseTransport
public RequestResponseTransport.RequestResponseTransportStatus getStatus()
RequestResponseTransport
getStatus
in interface RequestResponseTransport
public void signalFaultReady(AxisFault fault)
RequestResponseTransport
signalFaultReady
in interface RequestResponseTransport
fault
- The fault to be raised.public boolean isResponseWritten()
RequestResponseTransport
isResponseWritten
in interface RequestResponseTransport
public void setResponseWritten(boolean responseWritten)
RequestResponseTransport
setResponseWritten
in interface RequestResponseTransport
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.