public class HeaderFilterInterceptor extends AbstractInterceptor
| Modifier and Type | Class and Description |
|---|---|
static class |
HeaderFilterInterceptor.Action |
static class |
HeaderFilterInterceptor.Exclude |
static class |
HeaderFilterInterceptor.Include |
static class |
HeaderFilterInterceptor.Rule |
Interceptor.Flowid, name, router| Constructor and Description |
|---|
HeaderFilterInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
List<HeaderFilterInterceptor.Rule> |
getRules() |
void |
handleAbort(Exchange exchange)
Called when any
Interceptor.handleRequest(Exchange) or
Interceptor.handleResponse(Exchange) later in the chain returned
Outcome.ABORT or threw an exception. |
Outcome |
handleRequest(Exchange exc) |
Outcome |
handleResponse(Exchange exc) |
void |
setRules(List<HeaderFilterInterceptor.Rule> rules) |
getDisplayName, getFlow, getHelpId, getId, getLongDescription, getRouter, getRule, getShortDescription, init, init, setDisplayName, setFlow, setIdpublic Outcome handleRequest(Exchange exc) throws Exception
handleRequest in interface InterceptorhandleRequest in class AbstractInterceptorExceptionpublic Outcome handleResponse(Exchange exc) throws Exception
handleResponse in interface InterceptorhandleResponse in class AbstractInterceptorExceptionpublic void handleAbort(Exchange exchange)
InterceptorInterceptor.handleRequest(Exchange) or
Interceptor.handleResponse(Exchange) later in the chain returned
Outcome.ABORT or threw an exception.
handleAbort is called in the reverse order of the chain (as
handleResponse is).handleAbort in interface InterceptorhandleAbort in class AbstractInterceptorpublic List<HeaderFilterInterceptor.Rule> getRules()
public void setRules(List<HeaderFilterInterceptor.Rule> rules)
Copyright © 2019. All Rights Reserved.