Class AbstractWebEndpoint

    • Method Detail

      • getBaseUrl

        public URL getBaseUrl()
        Returns:
        the URL where the server listens to. It has no path element.
      • getServletUrl

        public String getServletUrl​(String servletPath)
        Parameters:
        servletPath - path of the servlet exposing the endpoint, Only the servlet's path, without context prefix.
        Returns:
        URL in string form, including the servers address, context address and the servlet's address.
      • startOverridable

        protected void startOverridable()
      • destroyOverridable

        protected void destroyOverridable()