org.apache.servicemix.camel.util
Class HeaderFilterStrategies
java.lang.Object
org.apache.servicemix.camel.util.HeaderFilterStrategies
- All Implemented Interfaces:
- org.apache.camel.spi.HeaderFilterStrategy
public class HeaderFilterStrategies
- extends java.lang.Object
- implements org.apache.camel.spi.HeaderFilterStrategy
HeaderFilterStrategy implementation that will evaluate a set of
strategies in an OR-like fashion (if one of the strategies filters the property,
the HeaderFilter
| Nested classes/interfaces inherited from interface org.apache.camel.spi.HeaderFilterStrategy |
org.apache.camel.spi.HeaderFilterStrategy.Direction |
|
Method Summary |
void |
add(org.apache.camel.spi.HeaderFilterStrategy strategy)
Add a strategy to the set of strategies |
boolean |
applyFilterToCamelHeaders(java.lang.String s,
java.lang.Object o,
org.apache.camel.Exchange exchange)
|
boolean |
applyFilterToExternalHeaders(java.lang.String s,
java.lang.Object o,
org.apache.camel.Exchange exchange)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeaderFilterStrategies
public HeaderFilterStrategies()
applyFilterToCamelHeaders
public boolean applyFilterToCamelHeaders(java.lang.String s,
java.lang.Object o,
org.apache.camel.Exchange exchange)
- Specified by:
applyFilterToCamelHeaders in interface org.apache.camel.spi.HeaderFilterStrategy
applyFilterToExternalHeaders
public boolean applyFilterToExternalHeaders(java.lang.String s,
java.lang.Object o,
org.apache.camel.Exchange exchange)
- Specified by:
applyFilterToExternalHeaders in interface org.apache.camel.spi.HeaderFilterStrategy
add
public void add(org.apache.camel.spi.HeaderFilterStrategy strategy)
- Add a strategy to the set of strategies
- Parameters:
strategy -
Copyright © 2005-2011 FuseSource. All Rights Reserved.