public class ProxyRule extends AbstractProxy
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_NAME |
blockRequest, blockResponse, interceptors, key, localHost, name
router
Constructor and Description |
---|
ProxyRule() |
ProxyRule(ProxyRuleKey ruleKey) |
ProxyRule(Router router) |
Modifier and Type | Method and Description |
---|---|
protected String |
getElementName() |
String |
getName() |
protected AbstractProxy |
getNewInstance() |
protected void |
parseKeyAttributes(XMLStreamReader token) |
void |
write(XMLStreamWriter out) |
collectStatisticsFrom, getCount, getDeepCopy, getInterceptors, getKey, getLocalHost, getSslInboundContext, getSslOutboundContext, getStatisticsByStatusCodes, getStreamReaderFor, isBlockRequest, isBlockResponse, parseAttributes, parseChildren, setBlockRequest, setBlockResponse, setInterceptors, setKey, setLocalHost, setName, toString, writeAttrIfTrue, writeExtension, writeRule
getRouter, setRouter
doAfterParsing, getBoolean, move2RootElementIfNeeded, parse, parseCharacters, toXml, writeIfNotNull
public static final String ELEMENT_NAME
public ProxyRule()
public ProxyRule(Router router)
public ProxyRule(ProxyRuleKey ruleKey)
protected void parseKeyAttributes(XMLStreamReader token)
parseKeyAttributes
in class AbstractProxy
public void write(XMLStreamWriter out) throws XMLStreamException
write
in interface XMLElement
write
in interface Rule
write
in class AbstractXmlElement
XMLStreamException
protected String getElementName()
getElementName
in class AbstractXmlElement
protected AbstractProxy getNewInstance()
getNewInstance
in class AbstractProxy
public String getName()
getName
in interface Rule
getName
in class AbstractProxy
Copyright © 2012. All Rights Reserved.