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) |
getRouter
doAfterParsing, getBoolean, getElementName, move2RootElementIfNeeded, parse, parseAttributes, parseCharacters, toXml, writeIfNotNull
public Proxies()
public Proxies(Router router)
public void setRouter(Router router)
setRouter
in class AbstractConfigElement
public 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 AbstractXmlElement
Exception
public void write(XMLStreamWriter out) throws XMLStreamException
write
in interface XMLElement
write
in class AbstractXmlElement
XMLStreamException
public byte[] toBytes() throws Exception, FactoryConfigurationError
Exception
FactoryConfigurationError
Copyright © 2012. All Rights Reserved.