Uses of Class
org.eclipse.jetty.servlet.FilterHolder
Package
Description
Jetty Server : Modular Servlet Integration
-
Uses of FilterHolder in org.eclipse.jetty.servlet
Modifier and TypeMethodDescriptionServletContextHandler.addFilter
(Class<? extends javax.servlet.Filter> filterClass, String pathSpec, EnumSet<javax.servlet.DispatcherType> dispatches) Convenience method to add a filterServletContextHandler.addFilter
(String filterClass, String pathSpec, EnumSet<javax.servlet.DispatcherType> dispatches) Convenience method to add a filterServletTester.addFilter
(Class<? extends javax.servlet.Filter> filterClass, String pathSpec, EnumSet<javax.servlet.DispatcherType> dispatches) ServletTester.addFilter
(String filterClass, String pathSpec, EnumSet<javax.servlet.DispatcherType> dispatches) ServletHandler.addFilterWithMapping
(Class<? extends javax.servlet.Filter> filter, String pathSpec, int dispatches) Convenience method to add a filter.ServletHandler.addFilterWithMapping
(Class<? extends javax.servlet.Filter> filter, String pathSpec, EnumSet<javax.servlet.DispatcherType> dispatches) Convenience method to add a filter.ServletHandler.addFilterWithMapping
(String className, String pathSpec, int dispatches) Convenience method to add a filter.ServletHandler.addFilterWithMapping
(String className, String pathSpec, EnumSet<javax.servlet.DispatcherType> dispatches) Convenience method to add a filter.ServletHandler.getFilters()
ServletHandler.newFilterHolder
(Source source) Modifier and TypeMethodDescriptionvoid
ServletContextHandler.addFilter
(FilterHolder holder, String pathSpec, EnumSet<javax.servlet.DispatcherType> dispatches) Convenience method to add a filtervoid
ServletHandler.addFilter
(FilterHolder filter) Convenience method to add a preconstructed FilterHoldervoid
ServletHandler.addFilter
(FilterHolder filter, FilterMapping filterMapping) Convenience method to add a filter and mappingvoid
ServletTester.addFilter
(FilterHolder holder, String pathSpec, EnumSet<javax.servlet.DispatcherType> dispatches) void
ServletHandler.addFilterWithMapping
(FilterHolder holder, String pathSpec, int dispatches) Convenience method to add a filter.void
ServletHandler.addFilterWithMapping
(FilterHolder holder, String pathSpec, EnumSet<javax.servlet.DispatcherType> dispatches) Convenience method to add a filter.protected boolean
ServletHandler.containsFilterHolder
(FilterHolder holder) protected javax.servlet.FilterChain
ServletHandler.newFilterChain
(FilterHolder filterHolder, javax.servlet.FilterChain chain) Create a FilterChain that calls the passed filter with the passed chainvoid
ServletHandler.prependFilter
(FilterHolder filter) Convenience method to add a preconstructed FilterHoldervoid
ServletHandler.removeFilterHolder
(FilterHolder holder) void
ServletHandler.setFilters
(FilterHolder[] holders) -
Uses of FilterHolder in org.eclipse.jetty.websocket.servlet
Modifier and TypeMethodDescriptionstatic FilterHolder
WebSocketUpgradeFilter.ensureFilter
(javax.servlet.ServletContext servletContext) Ensure aWebSocketUpgradeFilter
is available on the providedServletContext
, a new filter will added if one does not already exist.static FilterHolder
WebSocketUpgradeFilter.getFilter
(javax.servlet.ServletContext servletContext) Return the defaultWebSocketUpgradeFilter
if present on theServletContext
.