Class HelpServer


public abstract class HelpServer extends Object
3.4 Abstract class representing a web server which can be used to host the Eclipse help system using the extension point Classes extending this abstract class must be capable of launching a Web Server and
  • Constructor Details

    • HelpServer

      public HelpServer()
  • Method Details

    • start

      public abstract void start(String webappName) throws Exception
      Start a server application to host the Eclipse help system. The server is responsible for initializing the servlets, jsp files and other resources for the help system as defined by the extension points org.eclipse.equinox.http.registry.resources and org.eclipse.equinox.http.registry.servlets for the httpcontextId
      webappName - The name of this web application
      Exception - If anything prevented starting the server.
    • stop

      public abstract void stop(String webappName) throws CoreException
      Stop a server application. If an application of this name has not been started do nothing
      webappName - the name of a running web application
      CoreException - If there was any error during stopping.
    • getPort

      public abstract int getPort()
      Returns the port number the app server listens on
      integer port number, 0 if server not started
    • getHost

      public abstract String getHost()
      Returns the host name or ip the app server runs on.
      String representation of host name of IP, null if server not started yet