Package jakarta.xml.ws
Interface AsyncHandler<T>
-
- Type Parameters:
T
- The type of the message or payload
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface AsyncHandler<T>
TheAsyncHandler
interface is implemented by clients that wish to receive callback notification of the completion of service endpoint operations invoked asynchronously.- Since:
- 1.6, JAX-WS 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleResponse(Response<T> res)
Called when the response to an asynchronous operation is available.
-