public class MappedFilter<T extends javax.servlet.Filter> extends MappedWebArtifact<T>
| Constructor and Description |
|---|
MappedFilter(T filter,
Set<String> urlPatterns,
int order) |
MappedFilter(T filter,
Set<String> urlPatterns,
String name,
int order) |
MappedFilter(T filter,
Set<String> urlPatterns,
String name,
Map<String,String> params,
int order) |
| Modifier and Type | Method and Description |
|---|---|
T |
getFilter() |
int |
getOrder()
Returns filter relative ordering.
|
getArtifact, getName, getParams, getUrlPatternspublic MappedFilter(T filter, Set<String> urlPatterns, String name, int order)
filter - a filter to install inside of Jetty.urlPatterns - URL patterns that this filter will respond to.name - filter name. If null, Jetty will assign its own name.order - an order of the filter among all the filters in a given app.
If two filters match the same request, filter with lower
ordering will be an outer filter and will be called first.public MappedFilter(T filter, Set<String> urlPatterns, String name, Map<String,String> params, int order)
filter - a filter to install inside of Jetty.urlPatterns - URL patterns that this filter will respond to.name - filter name. If null, Jetty will assign its own name.params - filter init parameters map.order - an order of the filter among all the filters in a given app.
If two filters match the same request, filter with lower
ordering will be an outer filter and will be called first.public T getFilter()
public int getOrder()
Copyright © 2017 ObjectStyle LLC. All rights reserved.