Class ResponseHeaderFilterHolder
java.lang.Object
org.apache.druid.server.initialization.jetty.ResponseHeaderFilterHolder
- All Implemented Interfaces:
ServletFilterHolder
- Direct Known Subclasses:
TaskIdResponseHeaderFilterHolder
-
Constructor Summary
Constructors -
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().Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.server.initialization.jetty.ServletFilterHolder
getPaths
-
Constructor Details
-
ResponseHeaderFilterHolder
-
-
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
-
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
-