Interface WebService

    • Field Detail

      • ROOT_WEB_SERVICE_ATTR_NAME

        static final java.lang.String ROOT_WEB_SERVICE_ATTR_NAME
        ServletContext attribute name used to obtain the root WebService object.
      • STANDALONE_WEB_SERVICE_ATTR_PREFIX

        static final java.lang.String STANDALONE_WEB_SERVICE_ATTR_PREFIX
        The prefix of the ServletContext property name used to get the standalone WebService object.
    • Method Detail

      • getServletContext

        jakarta.servlet.ServletContext getServletContext()
        Returns a reference to the ServletContext in which this WebService is running.
        Returns:
        a ServletContext object, used by this WebService to interact with its servlet container
      • execute

        void execute​(jakarta.servlet.http.HttpServletRequest request,
                     jakarta.servlet.http.HttpServletResponse response)
              throws java.io.IOException
        Executes web activity.
        Parameters:
        request - current HTTP servlet request
        response - current HTTP servlet response
        Throws:
        java.io.IOException - If an error occurs during Activity execution