public class Global extends AbstractConfigElement
Modifier and Type | Field and Description |
---|---|
static String |
ADJ_CONT_LENGTH |
static String |
ADJ_HOST_HEADER |
static String |
ATTRIBUTE_ADJ_CONTENT_LENGTH |
static String |
ATTRIBUTE_ADJ_HOST_HEADER |
static String |
ATTRIBUTE_AUTO_TRACK |
static String |
ATTRIBUTE_INDENT_MSG |
static String |
INDENT_MSG |
static String |
TRACK_EXCHANGE |
Map<String,Object> |
values |
router
Modifier and Type | Method and Description |
---|---|
boolean |
getAdjustContentLength() |
boolean |
getAdjustHostHeader() |
boolean |
getIndentMessage() |
ProxyConfiguration |
getProxyConfiguration() |
boolean |
getTrackExchange() |
Map<String,Object> |
getValues() |
protected void |
parseChildren(XMLStreamReader token,
String child) |
void |
setAdjustContentLength(boolean status) |
void |
setAdjustHostHeader(boolean status) |
void |
setIndentMessage(boolean status) |
void |
setProxyConfiguration(ProxyConfiguration proxyConfiguration) |
void |
setTrackExchange(boolean status) |
void |
setValues(Map<String,Object> values) |
void |
write(XMLStreamWriter out) |
getRouter, setRouter
doAfterParsing, getBoolean, getElementName, move2RootElementIfNeeded, parse, parseAttributes, parseCharacters, toXml, writeIfNotNull
public static final String INDENT_MSG
public static final String ADJ_HOST_HEADER
public static final String TRACK_EXCHANGE
public static final String ADJ_CONT_LENGTH
public static final String ATTRIBUTE_INDENT_MSG
public static final String ATTRIBUTE_AUTO_TRACK
public static final String ATTRIBUTE_ADJ_HOST_HEADER
public static final String ATTRIBUTE_ADJ_CONTENT_LENGTH
public Global(Router router)
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 ProxyConfiguration getProxyConfiguration()
public void setProxyConfiguration(ProxyConfiguration proxyConfiguration)
public void setIndentMessage(boolean status)
public boolean getIndentMessage()
public void setAdjustHostHeader(boolean status)
public boolean getAdjustHostHeader()
public void setTrackExchange(boolean status)
public boolean getTrackExchange()
public void setAdjustContentLength(boolean status)
public boolean getAdjustContentLength()
Copyright © 2012. All Rights Reserved.