Class IgnoreHttpResponseHandler

  • All Implemented Interfaces:
    org.apache.druid.java.util.http.client.response.HttpResponseHandler<Void,​Void>

    public class IgnoreHttpResponseHandler
    extends Object
    implements org.apache.druid.java.util.http.client.response.HttpResponseHandler<Void,​Void>
    An HTTP response handler that discards the response and returns nothing. It returns a finished response only when the entire HTTP response is done.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.druid.java.util.http.client.response.HttpResponseHandler

        org.apache.druid.java.util.http.client.response.HttpResponseHandler.TrafficCop
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.druid.java.util.http.client.response.ClientResponse<Void> done​(org.apache.druid.java.util.http.client.response.ClientResponse<Void> clientResponse)  
      void exceptionCaught​(org.apache.druid.java.util.http.client.response.ClientResponse<Void> clientResponse, Throwable e)  
      org.apache.druid.java.util.http.client.response.ClientResponse<Void> handleChunk​(org.apache.druid.java.util.http.client.response.ClientResponse<Void> clientResponse, org.jboss.netty.handler.codec.http.HttpChunk chunk, long chunkNum)  
      org.apache.druid.java.util.http.client.response.ClientResponse<Void> handleResponse​(org.jboss.netty.handler.codec.http.HttpResponse response, org.apache.druid.java.util.http.client.response.HttpResponseHandler.TrafficCop trafficCop)  
    • Method Detail

      • handleResponse

        public org.apache.druid.java.util.http.client.response.ClientResponse<Void> handleResponse​(org.jboss.netty.handler.codec.http.HttpResponse response,
                                                                                                   org.apache.druid.java.util.http.client.response.HttpResponseHandler.TrafficCop trafficCop)
        Specified by:
        handleResponse in interface org.apache.druid.java.util.http.client.response.HttpResponseHandler<Void,​Void>
      • handleChunk

        public org.apache.druid.java.util.http.client.response.ClientResponse<Void> handleChunk​(org.apache.druid.java.util.http.client.response.ClientResponse<Void> clientResponse,
                                                                                                org.jboss.netty.handler.codec.http.HttpChunk chunk,
                                                                                                long chunkNum)
        Specified by:
        handleChunk in interface org.apache.druid.java.util.http.client.response.HttpResponseHandler<Void,​Void>
      • done

        public org.apache.druid.java.util.http.client.response.ClientResponse<Void> done​(org.apache.druid.java.util.http.client.response.ClientResponse<Void> clientResponse)
        Specified by:
        done in interface org.apache.druid.java.util.http.client.response.HttpResponseHandler<Void,​Void>
      • exceptionCaught

        public void exceptionCaught​(org.apache.druid.java.util.http.client.response.ClientResponse<Void> clientResponse,
                                    Throwable e)
        Specified by:
        exceptionCaught in interface org.apache.druid.java.util.http.client.response.HttpResponseHandler<Void,​Void>