Package org.apache.cxf.jaxws
Class ServerAsyncResponse<T>
java.lang.Object
org.apache.cxf.jaxws.ServerAsyncResponse<T>
- All Implemented Interfaces:
jakarta.xml.ws.Response<T>,Future<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Constructor Details
-
ServerAsyncResponse
public ServerAsyncResponse()
-
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) Currently unused -
isCancelled
public boolean isCancelled()Currently unused- Specified by:
isCancelledin interfaceFuture<T>
-
isDone
public boolean isDone() -
set
-
get
- Specified by:
getin interfaceFuture<T>- Throws:
InterruptedExceptionExecutionException
-
get
public T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
getin interfaceFuture<T>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
exception
-
getContext
Currently unused- Specified by:
getContextin interfacejakarta.xml.ws.Response<T>
-