Interface ActionResult


public interface ActionResult
An instance of this interface should be returned by SessionHandlingAction.performAction(SessionHandlingActionData).
  • Method Details

    • request

      HttpRequest request()
      Returns:
      The HTTP request.
    • annotations

      Annotations annotations()
      Returns:
      The annotations.
    • actionResult

      static ActionResult actionResult(HttpRequest request)
      Create a new instance of ActionResult.
      Annotations will not be modified.
      Parameters:
      request - An HTTP request.
      Returns:
      A new ActionResult instance.
    • actionResult

      static ActionResult actionResult(HttpRequest request, Annotations annotations)
      Create a new instance of ActionResult.
      Parameters:
      request - An HTTP request.
      annotations - modified annotations.
      Returns:
      A new ActionResult instance.