public class URLRewriteMediatorFactory extends AbstractMediatorFactory
<rewrite [inProperty="inputURL"] [outProperty="outputURL"]> <rewriterule> <condition> evaluator configuration </condition> ? <action value="value" xpath="xpath" [type="set | append | prepend | replace | remove"] [fragment="protocol | user | host | port | path | query | ref | full"] [regex="regex"] /> + </rewriterule> * </rewrite>
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_APPEND |
static String |
ACTION_PREPEND |
static String |
ACTION_REMOVE |
static String |
ACTION_REPLACE |
static String |
ACTION_SET |
static String |
FRAGMENT_FULL_URI |
static String |
FRAGMENT_HOST |
static String |
FRAGMENT_PATH |
static String |
FRAGMENT_PORT |
static String |
FRAGMENT_PROTOCOL |
static String |
FRAGMENT_QUERY |
static String |
FRAGMENT_REF |
static String |
FRAGMENT_USER_INFO |
ATT_EXPRN, ATT_KEY, ATT_NAME, ATT_ONERROR, ATT_REGEX, ATT_SEQUENCE, ATT_SOURCE, ATT_STATS, ATT_TARGET, ATT_VALUE, ATT_XPATH, DESCRIPTION_Q, FEATURE_Q, PROP_Q, TARGET_Q
Constructor and Description |
---|
URLRewriteMediatorFactory() |
Modifier and Type | Method and Description |
---|---|
protected Mediator |
createSpecificMediator(org.apache.axiom.om.OMElement element,
Properties properties)
Specific mediator factory implementations should implement this method to build the
Mediator by the given XML configuration |
QName |
getTagQName()
The QName of this mediator element in the XML config
|
collectNameValuePairs, createMediator, handleException, handleException, processAuditStatus, processTraceState
public static final String ACTION_SET
public static final String ACTION_APPEND
public static final String ACTION_PREPEND
public static final String ACTION_REPLACE
public static final String ACTION_REMOVE
public static final String FRAGMENT_PROTOCOL
public static final String FRAGMENT_USER_INFO
public static final String FRAGMENT_HOST
public static final String FRAGMENT_PORT
public static final String FRAGMENT_PATH
public static final String FRAGMENT_QUERY
public static final String FRAGMENT_REF
public static final String FRAGMENT_FULL_URI
protected Mediator createSpecificMediator(org.apache.axiom.om.OMElement element, Properties properties)
AbstractMediatorFactory
Mediator
by the given XML configurationcreateSpecificMediator
in class AbstractMediatorFactory
element
- configuration element describing the properties of the mediatorproperties
- bag of properties to pass in any information to the factorypublic QName getTagQName()
MediatorFactory
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.