(add-server-filters context & more-filter-opts)
(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
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 dispatches)
Return a dispatch EnumSet given one of:
dispatch-types
):all
which generates an EnumSet of all DispatcherTypesReturn 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
(filter-holder servlet-filter init-params)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close