Constructor and Description |
---|
ServerAsyncResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning)
Currently unused
|
void |
exception(Throwable ex) |
T |
get() |
T |
get(long timeout,
TimeUnit unit) |
Map<String,Object> |
getContext()
Currently unused
|
boolean |
isCancelled()
Currently unused
|
boolean |
isDone() |
void |
set(T t) |
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled
in interface Future<T>
public void set(T t)
public T get() throws InterruptedException, ExecutionException
get
in interface Future<T>
InterruptedException
ExecutionException
public T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get
in interface Future<T>
InterruptedException
ExecutionException
TimeoutException
public void exception(Throwable ex)
Apache CXF