Class JettyBindings.QosFilterHolder
java.lang.Object
org.apache.druid.server.initialization.jetty.JettyBindings.QosFilterHolder
- All Implemented Interfaces:
ServletFilterHolder
- Enclosing class:
- JettyBindings
-
Constructor Summary
ConstructorsConstructorDescriptionQosFilterHolder(String[] paths, int maxRequests) QosFilterHolder(String[] paths, int maxRequests, long timeoutMs) -
Method Summary
Modifier and TypeMethodDescriptionEnumSet<javax.servlet.DispatcherType>The dispatcher type that this Filter should apply tojavax.servlet.FilterGet the Filter object that should be added to the servlet.Class<? extends javax.servlet.Filter>Get the class of the Filter object that should be added to the servlet.Get Filter initialization parameters.getPath()This method is deprecated, please implementServletFilterHolder.getPaths().String[]getPaths()The paths that this Filter should apply to
-
Constructor Details
-
QosFilterHolder
-
QosFilterHolder
-
-
Method Details
-
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
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
Description copied from interface:ServletFilterHolderGet Filter initialization parameters.- Specified by:
getInitParametersin interfaceServletFilterHolder- Returns:
- a map containing all the Filter initialization parameters
-
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
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
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
-