public class Proxies extends AbstractConfigElement
router| Modifier and Type | Method and Description |
|---|---|
boolean |
getAdjustContentLength() |
boolean |
getAdjustHostHeader() |
boolean |
getIndentMessage() |
ProxyConfiguration |
getProxyConfiguration() |
Collection<Rule> |
getRules() |
boolean |
getTrackExchange() |
protected void |
parseChildren(XMLStreamReader token,
String child) |
void |
setAdjustContentLength(boolean status) |
void |
setAdjustHostHeader(boolean status) |
void |
setIndentMessage(boolean status) |
void |
setProxyConfiguration(ProxyConfiguration proxy) |
void |
setRouter(Router router) |
void |
setRules(Collection<Rule> rules) |
void |
setTrackExchange(boolean status) |
byte[] |
toBytes() |
void |
write(String path) |
void |
write(XMLStreamWriter out) |
getRouterdoAfterParsing, getBoolean, getElementName, move2RootElementIfNeeded, parse, parseAttributes, parseCharacters, toXml, writeIfNotNullpublic Proxies()
public Proxies(Router router)
public void setRouter(Router router)
setRouter in class AbstractConfigElementpublic Collection<Rule> getRules()
public void setRules(Collection<Rule> rules)
public void setIndentMessage(boolean status)
public boolean getIndentMessage()
public void setAdjustContentLength(boolean status)
public void setAdjustHostHeader(boolean status)
public boolean getAdjustHostHeader()
public boolean getAdjustContentLength()
public void setTrackExchange(boolean status)
public boolean getTrackExchange()
public void setProxyConfiguration(ProxyConfiguration proxy)
public ProxyConfiguration getProxyConfiguration()
protected void parseChildren(XMLStreamReader token, String child) throws Exception
parseChildren in class AbstractXmlElementExceptionpublic void write(XMLStreamWriter out) throws XMLStreamException
write in interface XMLElementwrite in class AbstractXmlElementXMLStreamExceptionpublic byte[] toBytes()
throws Exception,
FactoryConfigurationError
ExceptionFactoryConfigurationErrorCopyright © 2012. All Rights Reserved.