Apache CXF API

org.apache.cxf.jaxws
Class ServerAsyncResponse<T>

java.lang.Object
  extended by org.apache.cxf.jaxws.ServerAsyncResponse<T>
All Implemented Interfaces:
Future<T>, javax.xml.ws.Response<T>

public class ServerAsyncResponse<T>
extends Object
implements javax.xml.ws.Response<T>


Constructor Summary
ServerAsyncResponse()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerAsyncResponse

public ServerAsyncResponse()
Method Detail

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 javax.xml.ws.Response<T>

Apache CXF API

Apache CXF