Package io.undertow.servlet.api
Interface Deployment
- All Known Implementing Classes:
DeploymentImpl
public interface Deployment
Runtime representation of a deployment.
- Author:
- Stuart Douglas
-
Method Summary
Modifier and TypeMethodDescription<T,
C> ThreadSetupHandler.Action<T, C> createThreadSetupAction
(ThreadSetupHandler.Action<T, C> target) List<io.undertow.security.api.AuthenticationMechanism>
Deprecated.io.undertow.server.HttpHandler
io.undertow.server.session.SessionManager
tryAddServletMappings
(ServletInfo servletInfo, String... urlPatterns) Attempts to add a servlet mapping usingServletRegistration.addMapping(String...)
-
Method Details
-
getDeploymentInfo
DeploymentInfo getDeploymentInfo() -
getServletContainer
ServletContainer getServletContainer() -
getApplicationListeners
ApplicationListeners getApplicationListeners() -
getServlets
ManagedServlets getServlets() -
getFilters
ManagedFilters getFilters() -
getServletContext
ServletContextImpl getServletContext() -
getHandler
io.undertow.server.HttpHandler getHandler() -
getServletPaths
ServletPathMatches getServletPaths() -
createThreadSetupAction
<T,C> ThreadSetupHandler.Action<T,C> createThreadSetupAction(ThreadSetupHandler.Action<T, C> target) -
getErrorPages
ErrorPages getErrorPages() -
getMimeExtensionMappings
-
getServletDispatcher
ServletDispatcher getServletDispatcher() -
getSessionManager
io.undertow.server.session.SessionManager getSessionManager()- Returns:
- The session manager
-
getExecutor
Executor getExecutor()- Returns:
- The executor used for servlet requests. May be null in which case the XNIO worker is used
-
getAsyncExecutor
Executor getAsyncExecutor()- Returns:
- The executor used for async request dispatches. May be null in which case the XNIO worker is used
-
getDefaultCharset
Deprecated. -
getDefaultRequestCharset
Charset getDefaultRequestCharset() -
getDefaultResponseCharset
Charset getDefaultResponseCharset() -
getAuthenticationMechanisms
List<io.undertow.security.api.AuthenticationMechanism> getAuthenticationMechanisms()- Returns:
- The list of authentication mechanisms configured for this deployment
-
getDeploymentState
DeploymentManager.State getDeploymentState() -
tryAddServletMappings
Attempts to add a servlet mapping usingServletRegistration.addMapping(String...)
- Returns:
- true if the addition was sucessful
-