public final class FilterInfo extends WhiteboardServiceInfo<javax.servlet.Filter>
Filter, and is used to programmatically register Filters.
This class only provides information used at registration time, and as such differs slightly from DTOs like, FilterDTO.
| Constructor and Description |
|---|
FilterInfo(org.osgi.framework.ServiceReference<javax.servlet.Filter> ref) |
FilterInfo(String name,
String regex,
int serviceRanking,
Map<String,String> initParams)
Constructor for Http Service
|
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.DispatcherType[] |
getDispatcher() |
Map<String,String> |
getInitParameters()
Returns an immutable map of the init parameters.
|
String |
getName() |
String[] |
getPatterns() |
String[] |
getRegexs() |
String[] |
getServletNames() |
boolean |
isAsyncSupported() |
boolean |
isValid() |
getContextSelection, getContextSelectionFiltercompareTo, equals, getBooleanProperty, getInitParams, getRanking, getServiceId, getServiceReference, getStringArrayProperty, getStringProperty, getTarget, hashCode, isEmpty, isEmptypublic FilterInfo(org.osgi.framework.ServiceReference<javax.servlet.Filter> ref)
public boolean isValid()
isValid in class WhiteboardServiceInfo<javax.servlet.Filter>public String getName()
public String[] getPatterns()
public String[] getServletNames()
public String[] getRegexs()
public boolean isAsyncSupported()
public javax.servlet.DispatcherType[] getDispatcher()
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.