Package | Description |
---|---|
io.undertow.servlet | |
io.undertow.servlet.api | |
io.undertow.servlet.core | |
io.undertow.servlet.spec |
Modifier and Type | Method and Description |
---|---|
static ServletInfo |
Servlets.servlet(Class<? extends javax.servlet.Servlet> servletClass)
Creates a new servlet description with the given class.
|
static ServletInfo |
Servlets.servlet(String name,
Class<? extends javax.servlet.Servlet> servletClass)
Creates a new servlet description with the given name and class
|
static ServletInfo |
Servlets.servlet(String name,
Class<? extends javax.servlet.Servlet> servletClass,
InstanceFactory<? extends javax.servlet.Servlet> servlet)
Creates a new servlet description with the given name and class
|
Modifier and Type | Method and Description |
---|---|
ServletInfo |
ServletInfo.addHandlerChainWrapper(io.undertow.server.HandlerWrapper wrapper) |
ServletInfo |
ServletInfo.addInitParam(String name,
String value) |
ServletInfo |
ServletInfo.addMapping(String mapping) |
ServletInfo |
ServletInfo.addMappings(Collection<String> mappings) |
ServletInfo |
ServletInfo.addMappings(String... mappings) |
ServletInfo |
ServletInfo.clone() |
ServletInfo |
ServletInfo.setAsyncSupported(boolean asyncSupported) |
ServletInfo |
ServletInfo.setEnabled(boolean enabled) |
ServletInfo |
ServletInfo.setExecutor(Executor executor) |
ServletInfo |
ServletInfo.setJspFile(String jspFile) |
ServletInfo |
ServletInfo.setLoadOnStartup(Integer loadOnStartup) |
ServletInfo |
ServletInfo.setMultipartConfig(javax.servlet.MultipartConfigElement multipartConfig) |
ServletInfo |
ServletInfo.setRequireWelcomeFileMapping(boolean requireWelcomeFileMapping) |
ServletInfo |
ServletInfo.setRunAs(String runAs) |
ServletInfo |
ServletInfo.setServletSecurityInfo(ServletSecurityInfo servletSecurityInfo) |
Modifier and Type | Method and Description |
---|---|
Map<String,ServletInfo> |
DeploymentInfo.getServlets() |
Modifier and Type | Method and Description |
---|---|
DeploymentInfo |
DeploymentInfo.addServlet(ServletInfo servlet) |
DeploymentInfo |
DeploymentInfo.addServlets(ServletInfo... servlets) |
boolean |
AuthorizationManager.canAccessResource(List<SingleConstraintMatch> mappedConstraints,
io.undertow.security.idm.Account account,
ServletInfo servletInfo,
javax.servlet.http.HttpServletRequest request,
Deployment deployment)
Tests if a user can access a given resource
|
void |
LifecycleInterceptor.destroy(ServletInfo servletInfo,
javax.servlet.Servlet servlet,
LifecycleInterceptor.LifecycleContext context) |
void |
LifecycleInterceptor.init(ServletInfo servletInfo,
javax.servlet.Servlet servlet,
LifecycleInterceptor.LifecycleContext context) |
boolean |
AuthorizationManager.isUserInRole(String roleName,
io.undertow.security.idm.Account account,
ServletInfo servletInfo,
javax.servlet.http.HttpServletRequest request,
Deployment deployment)
Tests if a user is in a given role
|
Modifier and Type | Method and Description |
---|---|
DeploymentInfo |
DeploymentInfo.addServlets(Collection<ServletInfo> servlets) |
Modifier and Type | Method and Description |
---|---|
ServletInfo |
ManagedServlet.getServletInfo() |
Modifier and Type | Method and Description |
---|---|
ServletHandler |
ManagedServlets.addServlet(ServletInfo servletInfo) |
boolean |
DefaultAuthorizationManager.canAccessResource(List<SingleConstraintMatch> constraints,
io.undertow.security.idm.Account account,
ServletInfo servletInfo,
javax.servlet.http.HttpServletRequest request,
Deployment deployment) |
boolean |
DefaultAuthorizationManager.isUserInRole(String role,
io.undertow.security.idm.Account account,
ServletInfo servletInfo,
javax.servlet.http.HttpServletRequest request,
Deployment deployment) |
Constructor and Description |
---|
ManagedServlet(ServletInfo servletInfo,
ServletContextImpl servletContext) |
Constructor and Description |
---|
ServletConfigImpl(ServletInfo servletInfo,
javax.servlet.ServletContext servletContext) |
ServletRegistrationImpl(ServletInfo servletInfo,
ManagedServlet managedServlet,
Deployment deployment) |
Copyright © 2016. All rights reserved.