Intermediate
- Intermediate response type.Final
- final result type.public class RetryIfUnauthorizedResponseHandler<Intermediate,Final> extends Object implements org.apache.druid.java.util.http.client.response.HttpResponseHandler<RetryResponseHolder<Intermediate>,RetryResponseHolder<Final>>
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
RetryIfUnauthorizedResponseHandler(org.apache.druid.java.util.http.client.response.HttpResponseHandler<Intermediate,Final> httpResponseHandler) |
Modifier and Type | Method and Description |
---|---|
org.apache.druid.java.util.http.client.response.ClientResponse<RetryResponseHolder<Final>> |
done(org.apache.druid.java.util.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> clientResponse) |
void |
exceptionCaught(org.apache.druid.java.util.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> clientResponse,
Throwable throwable) |
org.apache.druid.java.util.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> |
handleChunk(org.apache.druid.java.util.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> clientResponse,
org.jboss.netty.handler.codec.http.HttpChunk httpChunk,
long chunkNum) |
org.apache.druid.java.util.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> |
handleResponse(org.jboss.netty.handler.codec.http.HttpResponse httpResponse,
org.apache.druid.java.util.http.client.response.HttpResponseHandler.TrafficCop trafficCop) |
public RetryIfUnauthorizedResponseHandler(org.apache.druid.java.util.http.client.response.HttpResponseHandler<Intermediate,Final> httpResponseHandler)
public org.apache.druid.java.util.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> handleResponse(org.jboss.netty.handler.codec.http.HttpResponse httpResponse, org.apache.druid.java.util.http.client.response.HttpResponseHandler.TrafficCop trafficCop)
handleResponse
in interface org.apache.druid.java.util.http.client.response.HttpResponseHandler<RetryResponseHolder<Intermediate>,RetryResponseHolder<Final>>
public org.apache.druid.java.util.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> handleChunk(org.apache.druid.java.util.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> clientResponse, org.jboss.netty.handler.codec.http.HttpChunk httpChunk, long chunkNum)
handleChunk
in interface org.apache.druid.java.util.http.client.response.HttpResponseHandler<RetryResponseHolder<Intermediate>,RetryResponseHolder<Final>>
public org.apache.druid.java.util.http.client.response.ClientResponse<RetryResponseHolder<Final>> done(org.apache.druid.java.util.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> clientResponse)
done
in interface org.apache.druid.java.util.http.client.response.HttpResponseHandler<RetryResponseHolder<Intermediate>,RetryResponseHolder<Final>>
public void exceptionCaught(org.apache.druid.java.util.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> clientResponse, Throwable throwable)
exceptionCaught
in interface org.apache.druid.java.util.http.client.response.HttpResponseHandler<RetryResponseHolder<Intermediate>,RetryResponseHolder<Final>>
Copyright © 2022 The Apache Software Foundation. All rights reserved.