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 Servlet> servletClass)
Creates a new servlet description with the given class.
|
static ServletInfo |
Servlets.servlet(String name,
Class<? extends Servlet> servletClass)
Creates a new servlet description with the given name and class
|
static ServletInfo |
Servlets.servlet(String name,
Class<? extends Servlet> servletClass,
InstanceFactory<? extends Servlet> servlet)
Creates a new servlet description with the given name and class
|
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,
Account account,
ServletInfo servletInfo,
HttpServletRequest request,
Deployment deployment)
Tests if a user can access a given resource
|
void |
LifecycleInterceptor.destroy(ServletInfo servletInfo,
Servlet servlet,
LifecycleInterceptor.LifecycleContext context) |
void |
LifecycleInterceptor.init(ServletInfo servletInfo,
Servlet servlet,
LifecycleInterceptor.LifecycleContext context) |
boolean |
AuthorizationManager.isUserInRole(String roleName,
Account account,
ServletInfo servletInfo,
HttpServletRequest request,
Deployment deployment)
Tests if a user is in a given role
|
Set<String> |
Deployment.tryAddServletMappings(ServletInfo servletInfo,
String... urlPatterns)
Attempts to add a servlet mapping using
ServletRegistration.addMapping(String...) |
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,
Account account,
ServletInfo servletInfo,
HttpServletRequest request,
Deployment deployment) |
boolean |
DefaultAuthorizationManager.isUserInRole(String role,
Account account,
ServletInfo servletInfo,
HttpServletRequest request,
Deployment deployment) |
Set<String> |
DeploymentImpl.tryAddServletMappings(ServletInfo servletInfo,
String... urlPatterns) |
Constructor and Description |
---|
ManagedServlet(ServletInfo servletInfo,
ServletContextImpl servletContext) |
Constructor and Description |
---|
ServletConfigImpl(ServletInfo servletInfo,
ServletContext servletContext) |
ServletRegistrationImpl(ServletInfo servletInfo,
ManagedServlet managedServlet,
Deployment deployment) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.