Class JettyBindings.QosFilterHolder
- java.lang.Object
-
- org.apache.druid.server.initialization.jetty.JettyBindings.QosFilterHolder
-
- All Implemented Interfaces:
ServletFilterHolder
- Enclosing class:
- JettyBindings
public static class JettyBindings.QosFilterHolder extends Object implements ServletFilterHolder
-
-
Constructor Summary
Constructors Constructor Description QosFilterHolder(String[] paths, int maxRequests)QosFilterHolder(String[] paths, int maxRequests, long timeoutMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumSet<javax.servlet.DispatcherType>getDispatcherType()The dispatcher type that this Filter should apply tojavax.servlet.FiltergetFilter()Get the Filter object that should be added to the servlet.Class<? extends javax.servlet.Filter>getFilterClass()Get the class of the Filter object that should be added to the servlet.Map<String,String>getInitParameters()Get Filter initialization parameters.StringgetPath()This method is deprecated, please implementServletFilterHolder.getPaths().String[]getPaths()The paths that this Filter should apply to
-
-
-
Method Detail
-
getFilter
public javax.servlet.Filter getFilter()
Description copied from interface:ServletFilterHolderGet the Filter object that should be added to the servlet. This method is considered "mutually exclusive" from the getFilterClass method. That is, one of them should return null and the other should return an actual value.- Specified by:
getFilterin interfaceServletFilterHolder- Returns:
- The Filter object to be added to the servlet
-
getFilterClass
public Class<? extends javax.servlet.Filter> getFilterClass()
Description copied from interface:ServletFilterHolderGet the class of the Filter object that should be added to the servlet. This method is considered "mutually exclusive" from the getFilter method. That is, one of them should return null and the other should return an actual value.- Specified by:
getFilterClassin interfaceServletFilterHolder- Returns:
- The class of the Filter object to be added to the servlet
-
getInitParameters
public Map<String,String> getInitParameters()
Description copied from interface:ServletFilterHolderGet Filter initialization parameters.- Specified by:
getInitParametersin interfaceServletFilterHolder- Returns:
- a map containing all the Filter initialization parameters
-
getPath
public String getPath()
Description copied from interface:ServletFilterHolderThis method is deprecated, please implementServletFilterHolder.getPaths(). The path that this Filter should apply to- Specified by:
getPathin interfaceServletFilterHolder- Returns:
- the path that this Filter should apply to
-
getPaths
public String[] getPaths()
Description copied from interface:ServletFilterHolderThe paths that this Filter should apply to- Specified by:
getPathsin interfaceServletFilterHolder- Returns:
- the paths that this Filter should apply to
-
getDispatcherType
public EnumSet<javax.servlet.DispatcherType> getDispatcherType()
Description copied from interface:ServletFilterHolderThe dispatcher type that this Filter should apply to- Specified by:
getDispatcherTypein interfaceServletFilterHolder- Returns:
- the enumeration of DispatcherTypes that this Filter should apply to
-
-