Package org.eclipse.jetty.ee10.servlet
Class ServletHolder.Registration
java.lang.Object
Holder<jakarta.servlet.Servlet>.HolderRegistration
org.eclipse.jetty.ee10.servlet.ServletHolder.Registration
- All Implemented Interfaces:
jakarta.servlet.Registration
,jakarta.servlet.Registration.Dynamic
,jakarta.servlet.ServletRegistration
,jakarta.servlet.ServletRegistration.Dynamic
- Enclosing class:
- ServletHolder
public class ServletHolder.Registration
extends Holder<jakarta.servlet.Servlet>.HolderRegistration
implements jakarta.servlet.ServletRegistration.Dynamic
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.servlet.Registration
jakarta.servlet.Registration.Dynamic
Nested classes/interfaces inherited from interface jakarta.servlet.ServletRegistration
jakarta.servlet.ServletRegistration.Dynamic
-
Field Summary
Modifier and TypeFieldDescriptionprotected jakarta.servlet.MultipartConfigElement
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddMapping
(String... urlPatterns) int
jakarta.servlet.MultipartConfigElement
void
setLoadOnStartup
(int loadOnStartup) void
setMultipartConfig
(jakarta.servlet.MultipartConfigElement element) void
setRunAsRole
(String role) setServletSecurity
(jakarta.servlet.ServletSecurityElement securityElement) Methods inherited from class org.eclipse.jetty.ee10.servlet.Holder.HolderRegistration
getClassName, getInitParameter, getInitParameters, getName, setAsyncSupported, setDescription, setInitParameter, setInitParameters
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.servlet.Registration
getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters
Methods inherited from interface jakarta.servlet.Registration.Dynamic
setAsyncSupported
-
Field Details
-
_multipartConfigElement
protected jakarta.servlet.MultipartConfigElement _multipartConfigElement
-
-
Constructor Details
-
Registration
public Registration()
-
-
Method Details
-
addMapping
- Specified by:
addMapping
in interfacejakarta.servlet.ServletRegistration
-
getMappings
- Specified by:
getMappings
in interfacejakarta.servlet.ServletRegistration
-
getRunAsRole
- Specified by:
getRunAsRole
in interfacejakarta.servlet.ServletRegistration
-
setLoadOnStartup
public void setLoadOnStartup(int loadOnStartup) - Specified by:
setLoadOnStartup
in interfacejakarta.servlet.ServletRegistration.Dynamic
-
getInitOrder
public int getInitOrder() -
setMultipartConfig
public void setMultipartConfig(jakarta.servlet.MultipartConfigElement element) - Specified by:
setMultipartConfig
in interfacejakarta.servlet.ServletRegistration.Dynamic
-
getMultipartConfigElement
public jakarta.servlet.MultipartConfigElement getMultipartConfigElement() -
setRunAsRole
- Specified by:
setRunAsRole
in interfacejakarta.servlet.ServletRegistration.Dynamic
-
setServletSecurity
- Specified by:
setServletSecurity
in interfacejakarta.servlet.ServletRegistration.Dynamic
-