|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsyncProviderCallback<T>
Callback interface to signal JAX-WS RI that the processing of an asynchronous request is complete.
The application is responsible for invoking one of the two defined methods to indicate the result of the request processing.
Both methods will return immediately, and the JAX-WS RI will send out an actual response at some later point.
AsyncProvider
Method Summary | |
---|---|
void |
send(T response)
Indicates that a request was processed successfully. |
void |
sendError(java.lang.Throwable t)
Indicates that an error had occured while processing a request. |
Method Detail |
---|
void send(@Nullable T response)
response
- Represents an object to be sent back to the client
as a response. To indicate one-way, response needs to be nullvoid sendError(@NotNull java.lang.Throwable t)
t
- The error is propagated to the client. For example, if this is
a SOAP-based web service, the server will send back a SOAP fault.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |