Class JaxrsClientCallback<T>

  • All Implemented Interfaces:
    Future<Object[]>

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

      • JaxrsClientCallback

        public JaxrsClientCallback​(javax.ws.rs.client.InvocationCallback<T> handler,
                                   Class<?> responseClass,
                                   Type outGenericType)
    • 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)
        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