ServletRegistration

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

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 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 loadOnStartup(): Int
The loadOnStartup priority.
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 toString(): String
Link copied to clipboard
abstract fun urlMappings(): Array<String>
URL mappings for the servlet.