public abstract class RelocatingInterceptor extends AbstractInterceptor
Interceptor.Flow| Modifier and Type | Field and Description |
|---|---|
protected String |
host |
protected String |
port |
protected String |
protocol |
ELEMENT_NAME, id, namerouter| Constructor and Description |
|---|
RelocatingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getCharset(Exchange exc)
if no charset is specified use standard XML charset UTF-8
|
String |
getHost() |
protected String |
getLocationHost(Exchange exc) |
protected int |
getLocationPort(Exchange exc) |
protected String |
getLocationProtocol() |
String |
getPort() |
String |
getProtocol() |
Outcome |
handleResponse(Exchange exc) |
void |
setHost(String host) |
void |
setPort(String port) |
void |
setProtocol(String protocol) |
getDisplayName, getElementName, getFlow, getHelpId, getId, getLongDescription, getShortDescription, handleRequest, parseAttributes, setDisplayName, setFlow, setId, write, writeInterceptorgetRouter, setRouterdoAfterParsing, getBoolean, move2RootElementIfNeeded, parse, parseCharacters, parseChildren, toXml, writeIfNotNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRouter, setRouterparseprotected String host
protected String protocol
protected String port
public Outcome handleResponse(Exchange exc) throws Exception
handleResponse in interface InterceptorhandleResponse in class AbstractInterceptorExceptionprotected String getCharset(Exchange exc)
protected 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)
Copyright © 2012. All Rights Reserved.