Package org.eclipse.jetty.servlet
Class ServletHolder.Registration
- java.lang.Object
-
- org.eclipse.jetty.servlet.Holder.HolderRegistration
-
- org.eclipse.jetty.servlet.ServletHolder.Registration
-
- All Implemented Interfaces:
javax.servlet.Registration
,javax.servlet.Registration.Dynamic
,javax.servlet.ServletRegistration
,javax.servlet.ServletRegistration.Dynamic
- Enclosing class:
- ServletHolder
public class ServletHolder.Registration extends Holder.HolderRegistration implements javax.servlet.ServletRegistration.Dynamic
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.servlet.MultipartConfigElement
_multipartConfig
-
Constructor Summary
Constructors Constructor Description Registration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>
addMapping(java.lang.String... urlPatterns)
int
getInitOrder()
java.util.Collection<java.lang.String>
getMappings()
javax.servlet.MultipartConfigElement
getMultipartConfig()
java.lang.String
getRunAsRole()
void
setLoadOnStartup(int loadOnStartup)
void
setMultipartConfig(javax.servlet.MultipartConfigElement element)
void
setRunAsRole(java.lang.String role)
java.util.Set<java.lang.String>
setServletSecurity(javax.servlet.ServletSecurityElement securityElement)
-
Methods inherited from class org.eclipse.jetty.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
-
-
-
-
Method Detail
-
addMapping
public java.util.Set<java.lang.String> addMapping(java.lang.String... urlPatterns)
- Specified by:
addMapping
in interfacejavax.servlet.ServletRegistration
-
getMappings
public java.util.Collection<java.lang.String> getMappings()
- Specified by:
getMappings
in interfacejavax.servlet.ServletRegistration
-
getRunAsRole
public java.lang.String getRunAsRole()
- Specified by:
getRunAsRole
in interfacejavax.servlet.ServletRegistration
-
setLoadOnStartup
public void setLoadOnStartup(int loadOnStartup)
- Specified by:
setLoadOnStartup
in interfacejavax.servlet.ServletRegistration.Dynamic
-
getInitOrder
public int getInitOrder()
-
setMultipartConfig
public void setMultipartConfig(javax.servlet.MultipartConfigElement element)
- Specified by:
setMultipartConfig
in interfacejavax.servlet.ServletRegistration.Dynamic
-
getMultipartConfig
public javax.servlet.MultipartConfigElement getMultipartConfig()
-
setRunAsRole
public void setRunAsRole(java.lang.String role)
- Specified by:
setRunAsRole
in interfacejavax.servlet.ServletRegistration.Dynamic
-
setServletSecurity
public java.util.Set<java.lang.String> setServletSecurity(javax.servlet.ServletSecurityElement securityElement)
- Specified by:
setServletSecurity
in interfacejavax.servlet.ServletRegistration.Dynamic
-
-