Package io.undertow.servlet.api
Interface Deployment
-
- All Known Implementing Classes:
DeploymentImpl
public interface DeploymentRuntime representation of a deployment.- Author:
- Stuart Douglas
-
-
Method Summary
-
-
-
Method Detail
-
getDeploymentInfo
DeploymentInfo getDeploymentInfo()
-
getServletContainer
ServletContainer getServletContainer()
-
getApplicationListeners
ApplicationListeners getApplicationListeners()
-
getServlets
ManagedServlets getServlets()
-
getFilters
ManagedFilters getFilters()
-
getServletContext
ServletContextImpl getServletContext()
-
getHandler
HttpHandler getHandler()
-
getServletPaths
ServletPathMatches getServletPaths()
-
createThreadSetupAction
<T,C> ThreadSetupHandler.Action<T,C> createThreadSetupAction(ThreadSetupHandler.Action<T,C> target)
-
getErrorPages
ErrorPages getErrorPages()
-
getServletDispatcher
ServletDispatcher getServletDispatcher()
-
getSessionManager
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 Charset getDefaultCharset()
Deprecated.
-
getDefaultRequestCharset
Charset getDefaultRequestCharset()
-
getDefaultResponseCharset
Charset getDefaultResponseCharset()
-
getAuthenticationMechanisms
List<AuthenticationMechanism> getAuthenticationMechanisms()
- Returns:
- The list of authentication mechanisms configured for this deployment
-
getDeploymentState
DeploymentManager.State getDeploymentState()
-
tryAddServletMappings
Set<String> tryAddServletMappings(ServletInfo servletInfo, String... urlPatterns)
Attempts to add a servlet mapping usingServletRegistration.addMapping(String...)- Returns:
- true if the addition was sucessful
-
-