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, name
router
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, writeInterceptor
getRouter, setRouter
doAfterParsing, getBoolean, move2RootElementIfNeeded, parse, parseCharacters, parseChildren, toXml, writeIfNotNull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRouter, setRouter
parse
protected String host
protected String protocol
protected String port
public Outcome handleResponse(Exchange exc) throws Exception
handleResponse
in interface Interceptor
handleResponse
in class AbstractInterceptor
Exception
protected 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.