|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.util.jsse.JsseParameters org.apache.camel.util.jsse.FilterParameters
public class FilterParameters
Represents a set of regular expression based filter patterns for including and excluding content of some type.
Nested Class Summary | |
---|---|
static class |
FilterParameters.Patterns
An immutable collection of compiled includes and excludes filter Pattern s. |
Field Summary | |
---|---|
protected List<String> |
exclude
|
protected List<String> |
include
|
Constructor Summary | |
---|---|
FilterParameters()
|
Method Summary | |
---|---|
List<String> |
getExclude()
Returns a live copy of the list of patterns to exclude. |
List<Pattern> |
getExcludePatterns()
Returns a list of compiled Pattern s based on the
values of the exclude list. |
List<String> |
getInclude()
Returns a live copy of the list of patterns to include. |
List<Pattern> |
getIncludePatterns()
Returns a list of compiled Pattern s based on the
values of the include list. |
protected List<Pattern> |
getPattern(List<String> patternStrings)
Compiles Pattern s for each expression in patternStrings . |
FilterParameters.Patterns |
getPatterns()
Returns an immutable collection of compiled filter patterns based on the state of this instance at the time of invocation. |
String |
toString()
|
Methods inherited from class org.apache.camel.util.jsse.JsseParameters |
---|
getCamelContext, parsePropertyValue, parsePropertyValues, resolveResource, setCamelContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected List<String> include
protected List<String> exclude
Constructor Detail |
---|
public FilterParameters()
Method Detail |
---|
public List<String> getInclude()
public List<String> getExclude()
public List<Pattern> getIncludePatterns()
Pattern
s based on the
values of the include list.
null
PatternSyntaxException
- if any of the expressions are invalidpublic List<Pattern> getExcludePatterns()
Pattern
s based on the
values of the exclude list.
null
PatternSyntaxException
- if any of the expressions are invalidpublic FilterParameters.Patterns getPatterns()
protected List<Pattern> getPattern(List<String> patternStrings)
Pattern
s for each expression in patternStrings
.
patternStrings
- the list of regular expressions to compile
PatternSyntaxException
- if any of the expressions are invalidpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |