Interface Deployment

  • All Known Implementing Classes:
    DeploymentImpl

    public interface Deployment
    Runtime representation of a deployment.
    Author:
    Stuart Douglas
    • Method Detail

      • getHandler

        io.undertow.server.HttpHandler getHandler()
      • getMimeExtensionMappings

        java.util.Map<java.lang.String,​java.lang.String> getMimeExtensionMappings()
      • 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
      • tryAddServletMappings

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