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
-
-
-
Method Detail
-
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
java.util.Map<java.lang.String,java.lang.String> getMimeExtensionMappings()
-
getServletDispatcher
ServletDispatcher getServletDispatcher()
-
getSessionManager
io.undertow.server.session.SessionManager getSessionManager()
- Returns:
- The session manager
-
getExecutor
java.util.concurrent.Executor getExecutor()
- Returns:
- The executor used for servlet requests. May be null in which case the XNIO worker is used
-
getAsyncExecutor
java.util.concurrent.Executor getAsyncExecutor()
- Returns:
- The executor used for async request dispatches. May be null in which case the XNIO worker is used
-
getDefaultCharset
@Deprecated java.nio.charset.Charset getDefaultCharset()
Deprecated.
-
getDefaultRequestCharset
java.nio.charset.Charset getDefaultRequestCharset()
-
getDefaultResponseCharset
java.nio.charset.Charset getDefaultResponseCharset()
-
getAuthenticationMechanisms
java.util.List<io.undertow.security.api.AuthenticationMechanism> getAuthenticationMechanisms()
- Returns:
- The list of authentication mechanisms configured for this deployment
-
getDeploymentState
DeploymentManager.State getDeploymentState()
-
tryAddServletMappings
java.util.Set<java.lang.String> tryAddServletMappings(ServletInfo servletInfo, java.lang.String... urlPatterns)
Attempts to add a servlet mapping usingServletRegistration.addMapping(String...)
- Returns:
- true if the addition was sucessful
-
-