public class RetryIfUnauthorizedResponseHandler<Intermediate,Final> extends Object implements com.metamx.http.client.response.HttpResponseHandler<RetryResponseHolder<Intermediate>,RetryResponseHolder<Final>>
| Constructor and Description |
|---|
RetryIfUnauthorizedResponseHandler(com.metamx.http.client.response.HttpResponseHandler<Intermediate,Final> httpResponseHandler) |
| Modifier and Type | Method and Description |
|---|---|
com.metamx.http.client.response.ClientResponse<RetryResponseHolder<Final>> |
done(com.metamx.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> clientResponse) |
void |
exceptionCaught(com.metamx.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> clientResponse,
Throwable throwable) |
com.metamx.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> |
handleChunk(com.metamx.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> clientResponse,
org.jboss.netty.handler.codec.http.HttpChunk httpChunk) |
com.metamx.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> |
handleResponse(org.jboss.netty.handler.codec.http.HttpResponse httpResponse) |
public RetryIfUnauthorizedResponseHandler(com.metamx.http.client.response.HttpResponseHandler<Intermediate,Final> httpResponseHandler)
public com.metamx.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> handleResponse(org.jboss.netty.handler.codec.http.HttpResponse httpResponse)
handleResponse in interface com.metamx.http.client.response.HttpResponseHandler<RetryResponseHolder<Intermediate>,RetryResponseHolder<Final>>public com.metamx.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> handleChunk(com.metamx.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> clientResponse, org.jboss.netty.handler.codec.http.HttpChunk httpChunk)
handleChunk in interface com.metamx.http.client.response.HttpResponseHandler<RetryResponseHolder<Intermediate>,RetryResponseHolder<Final>>public com.metamx.http.client.response.ClientResponse<RetryResponseHolder<Final>> done(com.metamx.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> clientResponse)
done in interface com.metamx.http.client.response.HttpResponseHandler<RetryResponseHolder<Intermediate>,RetryResponseHolder<Final>>public void exceptionCaught(com.metamx.http.client.response.ClientResponse<RetryResponseHolder<Intermediate>> clientResponse, Throwable throwable)
exceptionCaught in interface com.metamx.http.client.response.HttpResponseHandler<RetryResponseHolder<Intermediate>,RetryResponseHolder<Final>>Copyright © 2011–2017. All rights reserved.