Package com.sun.xml.ws.api.server
Interface AsyncProviderCallback<T>
-
- All Known Implementing Classes:
AsyncProviderInvokerTube.AsyncProviderCallbackImpl
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.
- Since:
- 2.1
- Author:
- Jitendra Kotamraju, Kohsuke Kawaguchi
- See Also:
AsyncProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsend(T response)Indicates that a request was processed successfully.voidsendError(Throwable t)Indicates that an error had occured while processing a request.
-