Class AsyncResponseImpl<T>

java.lang.Object
java.util.concurrent.FutureTask<T>
com.sun.xml.ws.client.AsyncResponseImpl<T>
All Implemented Interfaces:
ResponseContextReceiver, jakarta.xml.ws.Response<T>, Runnable, Future<T>, RunnableFuture<T>

public final class AsyncResponseImpl<T> extends FutureTask<T> implements jakarta.xml.ws.Response<T>, ResponseContextReceiver
Response implementation. When Runnbale is executed, it just hands the request to Fiber and returns. When the Fiber finishes the execution, it sets response in the FutureTask
Author:
Jitendra Kotamraju
  • Constructor Details

    • AsyncResponseImpl

      public AsyncResponseImpl(Runnable runnable, @Nullable jakarta.xml.ws.AsyncHandler<T> handler)
      Parameters:
      runnable - This Runnable is executed asynchronously.
      handler - Optional AsyncHandler to invoke at the end of the processing. Can be null.
  • Method Details