public class HTTPClientInterceptor extends AbstractInterceptor
Interceptor.Flowid, name, router| Constructor and Description |
|---|
HTTPClientInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
HttpClientConfiguration |
getHttpClientConfig() |
Outcome |
handleRequest(Exchange exc) |
void |
init(Router router) |
void |
init(Router router,
HttpClient httpClient) |
boolean |
isAdjustHostHeader() |
boolean |
isFailOverOn5XX() |
void |
setAdjustHostHeader(boolean adjustHostHeader) |
void |
setFailOverOn5XX(boolean failOverOn5XX) |
void |
setHttpClientConfig(HttpClientConfiguration httpClientConfig) |
getDisplayName, getFlow, getHelpId, getId, getLongDescription, getRouter, getRule, getShortDescription, handleAbort, handleResponse, init, setDisplayName, setFlow, setIdpublic Outcome handleRequest(Exchange exc) throws Exception
handleRequest in interface InterceptorhandleRequest in class AbstractInterceptorExceptionpublic void init(Router router) throws Exception
init in interface Interceptorinit in class AbstractInterceptorExceptionpublic void init(Router router, HttpClient httpClient) throws Exception
Exceptionpublic boolean isFailOverOn5XX()
public void setFailOverOn5XX(boolean failOverOn5XX)
public boolean isAdjustHostHeader()
public void setAdjustHostHeader(boolean adjustHostHeader)
public HttpClientConfiguration getHttpClientConfig()
public void setHttpClientConfig(HttpClientConfiguration httpClientConfig)
Copyright © 2019. All Rights Reserved.