FilterRegistration

Registers a Filter in a Servlet 3.0+ container. Can be used as an annotation-based alternative to FilterRegistrationBean.

Author

Moritz Halbritter

Since

3.5.0

See also

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun asyncSupported(): Boolean
Whether asynchronous operations are supported for this registration.
Link copied to clipboard
abstract fun dispatcherTypes(): Array<DispatcherType>
Dispatcher types that should be used with the registration.
Link copied to clipboard
abstract fun enabled(): Boolean
Whether this registration is enabled.
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
Whether registration failures should be ignored.
Link copied to clipboard
abstract fun matchAfter(): Boolean
Whether the filter mappings should be matched after any declared Filter mappings of the ServletContext.
Link copied to clipboard
abstract fun name(): String
Name of this registration.
Link copied to clipboard
@AliasFor(annotation = Order::class, attribute = "value")
abstract fun order(): Int
Order of the registration bean.
Link copied to clipboard
abstract fun servletNames(): Array<String>
Servlet names that the filter will be registered against.
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
abstract fun urlPatterns(): Array<String>
URL patterns, as defined in the Servlet specification, that the filter will be registered against.