public abstract class RelocatingInterceptor extends AbstractInterceptor
Interceptor.Flow| Modifier and Type | Field and Description |
|---|---|
protected String |
host |
protected Relocator.PathRewriter |
pathRewriter |
protected String |
port |
protected String |
protocol |
id, name, router| Constructor and Description |
|---|
RelocatingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
protected String |
getLocationHost(Exchange exc) |
protected int |
getLocationPort(Exchange exc) |
protected String |
getLocationProtocol() |
Relocator.PathRewriter |
getPathRewriter() |
String |
getPort() |
String |
getProtocol() |
Outcome |
handleResponse(Exchange exc) |
void |
setHost(String host) |
void |
setPathRewriter(Relocator.PathRewriter pathRewriter) |
void |
setPort(String port) |
void |
setProtocol(String protocol) |
getDisplayName, getFlow, getHelpId, getId, getLongDescription, getRouter, getRule, getShortDescription, handleAbort, handleRequest, init, init, setDisplayName, setFlow, setIdprotected String host
protected String protocol
protected String port
protected Relocator.PathRewriter pathRewriter
public Outcome handleResponse(Exchange exc) throws Exception
handleResponse in interface InterceptorhandleResponse in class AbstractInterceptorExceptionprotected int getLocationPort(Exchange exc)
protected String getLocationProtocol()
public String getHost()
public void setHost(String host)
public String getProtocol()
public void setProtocol(String protocol)
public String getPort()
public void setPort(String port)
public Relocator.PathRewriter getPathRewriter()
public void setPathRewriter(Relocator.PathRewriter pathRewriter)
Copyright © 2022. All Rights Reserved.