org.apache.synapse.mediators.transform.url
Class RewriteAction
java.lang.Object
org.apache.synapse.mediators.transform.url.RewriteAction
public class RewriteAction
- extends Object
Represents a URL rewrite action. The action could be rewriting the entire URL
or rewriting a fragment of the URL.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTION_SET
public static final int ACTION_SET
- See Also:
- Constant Field Values
ACTION_APPEND
public static final int ACTION_APPEND
- See Also:
- Constant Field Values
ACTION_PREPEND
public static final int ACTION_PREPEND
- See Also:
- Constant Field Values
ACTION_REPLACE
public static final int ACTION_REPLACE
- See Also:
- Constant Field Values
ACTION_REMOVE
public static final int ACTION_REMOVE
- See Also:
- Constant Field Values
RewriteAction
public RewriteAction()
execute
public void execute(URIFragments fragments,
MessageContext messageContext)
throws URISyntaxException
- Throws:
URISyntaxException
getFragmentIndex
public int getFragmentIndex()
setFragmentIndex
public void setFragmentIndex(int fragmentIndex)
getValue
public String getValue()
setValue
public void setValue(String value)
getXpath
public SynapseXPath getXpath()
setXpath
public void setXpath(SynapseXPath xpath)
getRegex
public String getRegex()
setRegex
public void setRegex(String regex)
getActionType
public int getActionType()
setActionType
public void setActionType(int actionType)
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.