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 Details

    • QosFilterHolder

      public QosFilterHolder(String[] paths, int maxRequests, long timeoutMs)
    • QosFilterHolder

      public QosFilterHolder(String[] paths, int maxRequests)
  • Method Details

    • getFilter

      public javax.servlet.Filter getFilter()
      Description copied from interface: ServletFilterHolder
      Get 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:
      getFilter in interface ServletFilterHolder
      Returns:
      The Filter object to be added to the servlet
    • getFilterClass

      public Class<? extends javax.servlet.Filter> getFilterClass()
      Description copied from interface: ServletFilterHolder
      Get 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:
      getFilterClass in interface ServletFilterHolder
      Returns:
      The class of the Filter object to be added to the servlet
    • getInitParameters

      public Map<String,String> getInitParameters()
      Description copied from interface: ServletFilterHolder
      Get Filter initialization parameters.
      Specified by:
      getInitParameters in interface ServletFilterHolder
      Returns:
      a map containing all the Filter initialization parameters
    • getPath

      public String getPath()
      Description copied from interface: ServletFilterHolder
      This method is deprecated, please implement ServletFilterHolder.getPaths(). The path that this Filter should apply to
      Specified by:
      getPath in interface ServletFilterHolder
      Returns:
      the path that this Filter should apply to
    • getPaths

      public String[] getPaths()
      Description copied from interface: ServletFilterHolder
      The paths that this Filter should apply to
      Specified by:
      getPaths in interface ServletFilterHolder
      Returns:
      the paths that this Filter should apply to
    • getDispatcherType

      public EnumSet<javax.servlet.DispatcherType> getDispatcherType()
      Description copied from interface: ServletFilterHolder
      The dispatcher type that this Filter should apply to
      Specified by:
      getDispatcherType in interface ServletFilterHolder
      Returns:
      the enumeration of DispatcherTypes that this Filter should apply to