Package org.apache.druid.rpc
Class IgnoreHttpResponseHandler
- java.lang.Object
-
- org.apache.druid.rpc.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.
-
-
Field Summary
Fields Modifier and Type Field Description static IgnoreHttpResponseHandlerINSTANCE
-
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)voidexceptionCaught(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)
-
-
-
Field Detail
-
INSTANCE
public static final IgnoreHttpResponseHandler INSTANCE
-
-
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)
-
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)
-
done
public org.apache.druid.java.util.http.client.response.ClientResponse<Void> done(org.apache.druid.java.util.http.client.response.ClientResponse<Void> clientResponse)
-
-