Interface Host

All Known Implementing Classes:
TomcatHost

public interface Host
SPI for a host, defined as a set of web application contexts.
Author:
Paul Ferraro
  • Method Details

    • getName

      String getName()
      The name of this host.
      Returns:
      the host name
    • getEngine

      Engine getEngine()
      The engine to which this host is associated.
      Returns:
      the servlet engine
    • getContexts

      Iterable<Context> getContexts()
      Returns all contexts associated with this host.
      Returns:
      this host's contexts
    • getAliases

      Set<String> getAliases()
      Returns the aliases of this host, including the actual host name.
      Returns:
      a set of aliases
    • findContext

      Context findContext(String path)
      Returns the context identified by the specified context path.
      Parameters:
      path - a context path
      Returns:
      a web application context