public class RewriteInterceptor extends AbstractInterceptor
Rewrites the path of incoming requests based on a mapping or redirects requests.
| Modifier and Type | Class and Description |
|---|---|
static class |
RewriteInterceptor.Mapping |
static class |
RewriteInterceptor.Type |
Interceptor.Flowid, name, router| Constructor and Description |
|---|
RewriteInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLongDescription() |
List<RewriteInterceptor.Mapping> |
getMappings() |
String |
getShortDescription() |
Outcome |
handleRequest(Exchange exc) |
void |
setMappings(List<RewriteInterceptor.Mapping> mappings) |
getDisplayName, getFlow, getHelpId, getId, getRouter, getRule, handleAbort, handleResponse, init, init, setDisplayName, setFlow, setIdpublic Outcome handleRequest(Exchange exc) throws Exception
handleRequest in interface InterceptorhandleRequest in class AbstractInterceptorExceptionpublic List<RewriteInterceptor.Mapping> getMappings()
public void setMappings(List<RewriteInterceptor.Mapping> mappings)
public String getShortDescription()
getShortDescription in interface InterceptorgetShortDescription in class AbstractInterceptorpublic String getLongDescription()
getLongDescription in interface InterceptorgetLongDescription in class AbstractInterceptorCopyright © 2022. All Rights Reserved.