org.apache.synapse
Class HeaderType
java.lang.Object
org.apache.synapse.HeaderType
- public class HeaderType
- extends java.lang.Object
This class encapsulates access to headers. It has a set of "logical names" (e.g. strings)
Once you have set the logical name you can read and write that header on a SynapseMessage
It is used by the RegexProcessor and the HeaderProcessor classes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STRTO
public static final java.lang.String STRTO
- See Also:
- Constant Field Values
STRFROM
public static final java.lang.String STRFROM
- See Also:
- Constant Field Values
STRFAULT
public static final java.lang.String STRFAULT
- See Also:
- Constant Field Values
STRACTION
public static final java.lang.String STRACTION
- See Also:
- Constant Field Values
STRREPLYTO
public static final java.lang.String STRREPLYTO
- See Also:
- Constant Field Values
HeaderType
public HeaderType()
setHeaderType
public void setHeaderType(java.lang.String header)
getHeaderType
public java.lang.String getHeaderType()
getHeader
public java.lang.String getHeader(SynapseMessage sm)
setHeader
public void setHeader(SynapseMessage sm,
java.lang.String value)