public class HeaderLanguage extends Object implements Language, IsSingleton
| Constructor and Description |
|---|
HeaderLanguage() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
createExpression(String expression)
Creates an expression based on the given string input
|
Predicate |
createPredicate(String expression)
Creates a predicate based on the given string input
|
static Expression |
header(String headerName) |
boolean |
isSingleton()
Whether this class supports being singleton or not.
|
public static Expression header(String headerName)
public Predicate createPredicate(String expression)
LanguagecreatePredicate in interface Languageexpression - the expressionpublic Expression createExpression(String expression)
LanguagecreateExpression in interface Languageexpression - the expression as a string inputpublic boolean isSingleton()
IsSingletonisSingleton in interface IsSingletonApache CAMEL