toggle menu
Spring Boot Kotlin API
3.5.0-SNAPSHOT
jvm
switch theme
search in API
spring-boot
/
org.springframework.boot.web.servlet
/
RegistrationBean
Registration
Bean
abstract
class
RegistrationBean
:
ServletContextInitializer
,
Ordered
Base class for Servlet 3.0+ based registration beans.
Author
Phillip Webb
Since
1.4.0
See also
Servlet
Registration
Bean
Filter
Registration
Bean
Delegating
Filter
Proxy
Registration
Bean
Servlet
Listener
Registration
Bean
Inheritors
DynamicRegistrationBean
ServletListenerRegistrationBean
Members
Constructors
Registration
Bean
Link copied to clipboard
constructor
(
)
Properties
HIGHEST_PRECEDENCE
Link copied to clipboard
val
HIGHEST_PRECEDENCE
:
Int
=
-2147483648
LOWEST_PRECEDENCE
Link copied to clipboard
val
LOWEST_PRECEDENCE
:
Int
=
2147483647
order
Link copied to clipboard
open
var
order
:
Int
Functions
get
Order
Link copied to clipboard
abstract
fun
getOrder
(
)
:
Int
is
Enabled
Link copied to clipboard
open
fun
isEnabled
(
)
:
Boolean
Return if the registration is enabled.
on
Startup
Link copied to clipboard
fun
onStartup
(
servletContext
:
ServletContext
)
Configure the given
ServletContext
with any servlets, filters, listeners context-params and attributes necessary for initialization.
set
Enabled
Link copied to clipboard
open
fun
setEnabled
(
enabled
:
Boolean
)
Flag to indicate that the registration is enabled.