public class ServletRegistrationImpl extends Object implements javax.servlet.ServletRegistration, javax.servlet.ServletRegistration.Dynamic
Constructor and Description |
---|
ServletRegistrationImpl(ServletInfo servletInfo, ManagedServlet managedServlet, Deployment deployment) |
Modifier and Type | Method and Description |
---|---|
Set<String> | addMapping(String... urlPatterns) |
String | getClassName() |
String | getInitParameter(String name) |
Map<String,String> | getInitParameters() |
Collection<String> | getMappings() |
String | getName() |
String | getRunAsRole() |
void | setAsyncSupported(boolean isAsyncSupported) |
boolean | setInitParameter(String name, String value) |
Set<String> | setInitParameters(Map<String,String> initParameters) |
void | setLoadOnStartup(int loadOnStartup) |
void | setMultipartConfig(javax.servlet.MultipartConfigElement multipartConfig) |
void | setRunAsRole(String roleName) |
Set<String> | setServletSecurity(javax.servlet.ServletSecurityElement constraint) |
public ServletRegistrationImpl(ServletInfo servletInfo, ManagedServlet managedServlet, Deployment deployment)
public void setLoadOnStartup(int loadOnStartup)
setLoadOnStartup
in interface javax.servlet.ServletRegistration.Dynamic
public Set<String> setServletSecurity(javax.servlet.ServletSecurityElement constraint)
setServletSecurity
in interface javax.servlet.ServletRegistration.Dynamic
public void setMultipartConfig(javax.servlet.MultipartConfigElement multipartConfig)
setMultipartConfig
in interface javax.servlet.ServletRegistration.Dynamic
public void setRunAsRole(String roleName)
setRunAsRole
in interface javax.servlet.ServletRegistration.Dynamic
public void setAsyncSupported(boolean isAsyncSupported)
setAsyncSupported
in interface javax.servlet.Registration.Dynamic
public Set<String> addMapping(String... urlPatterns)
addMapping
in interface javax.servlet.ServletRegistration
public Collection<String> getMappings()
getMappings
in interface javax.servlet.ServletRegistration
public String getRunAsRole()
getRunAsRole
in interface javax.servlet.ServletRegistration
public String getName()
getName
in interface javax.servlet.Registration
public String getClassName()
getClassName
in interface javax.servlet.Registration
public boolean setInitParameter(String name, String value)
setInitParameter
in interface javax.servlet.Registration
public String getInitParameter(String name)
getInitParameter
in interface javax.servlet.Registration
public Set<String> setInitParameters(Map<String,String> initParameters)
setInitParameters
in interface javax.servlet.Registration
Copyright © 2017 JBoss by Red Hat. All rights reserved.