Class HttpAction

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadRequestAction, ForbiddenAction, NoContentAction, RedirectionAction, StatusAction, UnauthorizedAction

public abstract class HttpAction extends TechnicalException
The HTTP action, to perform on the web context by the appropriate HttpActionAdapter.
Since:
1.4.0
Author:
Jerome Leleu
See Also:
  • Field Details

    • code

      protected int code
  • Constructor Details

    • HttpAction

      protected HttpAction(int code)
  • Method Details

    • getCode

      public int getCode()
      Return the HTTP code.
      Returns:
      the HTTP code
    • toString

      public String toString()
      Overrides:
      toString in class Throwable