org.apache.cxf.jaxws
Class ServerAsyncResponse<T>
java.lang.Object
org.apache.cxf.jaxws.ServerAsyncResponse<T>
- All Implemented Interfaces:
- Future<T>, Response<T>
public class ServerAsyncResponse<T>
- extends Object
- implements Response<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerAsyncResponse
public ServerAsyncResponse()
cancel
public boolean cancel(boolean mayInterruptIfRunning)
- Currently unused
- Specified by:
cancel
in interface Future<T>
isCancelled
public boolean isCancelled()
- Currently unused
- Specified by:
isCancelled
in interface Future<T>
isDone
public boolean isDone()
- Specified by:
isDone
in interface Future<T>
set
public void set(T t)
get
public T get()
throws InterruptedException,
ExecutionException
- Specified by:
get
in interface Future<T>
- Throws:
InterruptedException
ExecutionException
get
public T get(long timeout,
TimeUnit unit)
throws InterruptedException,
ExecutionException,
TimeoutException
- Specified by:
get
in interface Future<T>
- Throws:
InterruptedException
ExecutionException
TimeoutException
exception
public void exception(Throwable ex)
getContext
public Map<String,Object> getContext()
- Currently unused
- Specified by:
getContext
in interface Response<T>
Apache CXF