Class JaxrsClientCallback<T>

java.lang.Object
org.apache.cxf.endpoint.ClientCallback
org.apache.cxf.jaxrs.client.JaxrsClientCallback<T>
All Implemented Interfaces:
Future<Object[]>

public class JaxrsClientCallback<T> extends org.apache.cxf.endpoint.ClientCallback
  • Constructor Details

    • JaxrsClientCallback

      public JaxrsClientCallback(jakarta.ws.rs.client.InvocationCallback<T> handler, Class<?> responseClass, Type outGenericType)
  • Method Details

    • getHandler

      public jakarta.ws.rs.client.InvocationCallback<T> getHandler()
    • getOutGenericType

      public Type getOutGenericType()
    • getResponseClass

      public Class<?> getResponseClass()
    • cancel

      public boolean cancel(boolean mayInterruptIfRunning)
      Specified by:
      cancel in interface Future<T>
      Overrides:
      cancel in class org.apache.cxf.endpoint.ClientCallback
    • createFuture

      public Future<T> createFuture()
    • handleResponse

      public void handleResponse(Map<String,Object> ctx, Object[] res)
      Overrides:
      handleResponse in class org.apache.cxf.endpoint.ClientCallback
    • handleException

      public void handleException(Map<String,Object> ctx, Throwable ex)
      Overrides:
      handleException in class org.apache.cxf.endpoint.ClientCallback