Package org.apache.cxf.jaxrs.client
Class JaxrsClientCallback<T>
- java.lang.Object
-
- org.apache.cxf.endpoint.ClientCallback
-
- org.apache.cxf.jaxrs.client.JaxrsClientCallback<T>
-
-
Constructor Summary
Constructors Constructor Description JaxrsClientCallback(javax.ws.rs.client.InvocationCallback<T> handler, Class<?> responseClass, Type outGenericType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel(boolean mayInterruptIfRunning)Future<T>createFuture()javax.ws.rs.client.InvocationCallback<T>getHandler()TypegetOutGenericType()Class<?>getResponseClass()voidhandleException(Map<String,Object> ctx, Throwable ex)voidhandleResponse(Map<String,Object> ctx, Object[] res)
-
-
-
Method Detail
-
getHandler
public javax.ws.rs.client.InvocationCallback<T> getHandler()
-
getOutGenericType
public Type getOutGenericType()
-
getResponseClass
public Class<?> getResponseClass()
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
handleResponse
public void handleResponse(Map<String,Object> ctx, Object[] res)
- Overrides:
handleResponsein classorg.apache.cxf.endpoint.ClientCallback
-
-