Interface IPortalServlet

All Superinterfaces:
IComponent, ICurrentResourceResolver, IInitializable, IURIResolver, Servlet

public interface IPortalServlet extends IComponent, Servlet, ICurrentResourceResolver
The PortalServlet is the main Servlet for the IWebApplication. It is the entry point for all Http-Based requests
  • Field Details

    • CURRENT_REQUEST_KEY

      static final String CURRENT_REQUEST_KEY
      The key for the current request from Thread Local Storage Note, if this key ever changes, you MUST CHANGE the Event.java key as well
      See Also:
    • CURRENT_RESPONSE_KEY

      static final String CURRENT_RESPONSE_KEY
      See Also:
  • Method Details

    • sendRedirect

      void sendRedirect(HttpServletRequest request, HttpServletResponse response, String redirectURL)
      Sends an appropriate redirect
      Parameters:
      request -
      response -
      redirectURL -
    • getCurrentRequestForThread

      HttpServletRequest getCurrentRequestForThread()
      Get the http request being serviced by the current thread
      Returns:
      the request object or null if none
    • getCurrentResponseForThread

      HttpServletResponse getCurrentResponseForThread()
      Get the http respnse being serviced by the current thread
      Returns:
      the response object or null if none