Class WorkbenchGateway

  • All Implemented Interfaces:
    javax.servlet.Servlet

    public class WorkbenchGateway
    extends AbstractServlet
    All requests are serviced by this Servlet, though it usually delegates to other Servlets.
    • Constructor Detail

      • WorkbenchGateway

        public WorkbenchGateway()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig config)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class AbstractServlet
        Throws:
        javax.servlet.ServletException
      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.servlet.Servlet
        Overrides:
        destroy in class AbstractServlet
      • getChangeServerPath

        public String getChangeServerPath()
      • getDefaultServerPath

        public String getDefaultServerPath()
        Returns the value of the default-server configuration variable. Often, this is simply a relative path on the same HTTP server.
        Returns:
        the path to the default Sesame server instance
      • isServerFixed

        public boolean isServerFixed()
        Whether the server path is fixed, which is when the change-server-path configuration value is not set.
        Returns:
        true, if the change-server-path configuration variable is not set, meaning that changing the server is blocked
      • service

        public void service​(javax.servlet.http.HttpServletRequest req,
                            javax.servlet.http.HttpServletResponse resp)
                     throws javax.servlet.ServletException,
                            IOException
        Overrides:
        service in class AbstractServlet
        Throws:
        javax.servlet.ServletException
        IOException