public class DeploymentImpl extends Object implements Deployment
Classes calling deployment methods during bootstrap must be aware of ordering concerns.
| Constructor and Description |
|---|
DeploymentImpl(DeploymentManager deploymentManager, DeploymentInfo deploymentInfo, ServletContainer servletContainer) |
public DeploymentImpl(DeploymentManager deploymentManager, DeploymentInfo deploymentInfo, ServletContainer servletContainer)
public ServletContainer getServletContainer()
getServletContainer in interface Deploymentpublic ManagedServlets getServlets()
getServlets in interface Deploymentpublic ManagedFilters getFilters()
getFilters in interface Deploymentpublic DeploymentInfo getDeploymentInfo()
getDeploymentInfo in interface Deploymentpublic ApplicationListeners getApplicationListeners()
getApplicationListeners in interface Deploymentpublic ServletContextImpl getServletContext()
getServletContext in interface Deploymentpublic HttpHandler getHandler()
getHandler in interface Deploymentpublic void setInitialHandler(HttpHandler initialHandler)
public ServletPathMatches getServletPaths()
getServletPaths in interface Deploymentpublic <C,T> ThreadSetupHandler.Action<C,T> createThreadSetupAction(ThreadSetupHandler.Action<C,T> target)
createThreadSetupAction in interface Deploymentpublic ErrorPages getErrorPages()
getErrorPages in interface Deploymentpublic void setErrorPages(ErrorPages errorPages)
public Map<String,String> getMimeExtensionMappings()
getMimeExtensionMappings in interface Deploymentpublic void setMimeExtensionMappings(Map<String,String> mimeExtensionMappings)
public ServletDispatcher getServletDispatcher()
getServletDispatcher in interface Deploymentpublic SessionManager getSessionManager()
getSessionManager in interface Deploymentpublic Executor getExecutor()
getExecutor in interface Deploymentpublic Executor getAsyncExecutor()
getAsyncExecutor in interface Deployment@Deprecated public Charset getDefaultCharset()
getDefaultCharset in interface Deploymentpublic Charset getDefaultRequestCharset()
getDefaultRequestCharset in interface Deploymentpublic Charset getDefaultResponseCharset()
getDefaultResponseCharset in interface Deploymentpublic void setAuthenticationMechanisms(List<AuthenticationMechanism> authenticationMechanisms)
public List<AuthenticationMechanism> getAuthenticationMechanisms()
getAuthenticationMechanisms in interface Deploymentpublic DeploymentManager.State getDeploymentState()
getDeploymentState in interface Deploymentpublic Set<String> tryAddServletMappings(ServletInfo servletInfo, String... urlPatterns)
DeploymentServletRegistration.addMapping(String...)tryAddServletMappings in interface Deployment@Deprecated public void setDefaultCharset(Charset defaultCharset)
public void setDefaultRequestCharset(Charset defaultRequestCharset)
public void setDefaultResponseCharset(Charset defaultResponseCharset)
Copyright © 2020 JBoss by Red Hat. All rights reserved.