Interface Deployment

All Known Implementing Classes:
DeploymentImpl

public interface Deployment
Runtime representation of a deployment.
Author:
Stuart Douglas
  • 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

      Map<String,String> 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 Charset 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

      Set<String> tryAddServletMappings(ServletInfo servletInfo, String... urlPatterns)
      Attempts to add a servlet mapping using ServletRegistration.addMapping(String...)
      Returns:
      true if the addition was sucessful