Interface RequestService

All Known Implementing Classes:

public interface RequestService
Contains the HttpServletRequest which belongs to the current request.
  • Method Details

    • getRequest

      Optional<jakarta.servlet.http.HttpServletRequest> getRequest()
      Get the request.
      the request.
    • setRequest

      void setRequest(jakarta.servlet.http.HttpServletRequest request)
      Set the request.
      request - The request to set.
    • getContentTreeNode

      Optional<ContentTreeNode> getContentTreeNode()
      Returns the resolved node of the resolved request (if available).
    • setContentTreeNode

      void setContentTreeNode(ContentTreeNode node)
      Set the resolved ContentTreeNode.
    • noRequest

      Invoker noRequest()
      Returns an invoker which lets getRequest() return Optional.empty().
    • withContentTreeNode

      Invoker withContentTreeNode(ContentTreeNode node)
      Returns an invoker which lets getContentTreeNode() ()} return the given node.