io.pedestal.http.jetty.util
add-servlet-filter
(add-servlet-filter context filter-opts)
Add a ServletFilter to a ServletContextHandler, given the context and a map that contains: :filter - A FilterHolder, Filter class, or a String of a Filter class and optionally contains: :path - The pathSpec string that applies to the filter; defaults to ‘/*’ :dispatches - A keyword signaling the defaults to :request
dispatcher-set
(dispatcher-set dispatches)
Return a dispatch EnumSet given one of: - an EnumSet (no-op) - servlet DispatcherType - a keyword representation of DispatcherType (see dispatch-types
) - :all
which generates an EnumSet of all DispatcherTypes