Class Status

java.lang.Object
com.easypost.easyvcr.requestelements.Status

public final class Status extends Object
Represents a status of an HTTP request tracked by EasyVCR.
  • Constructor Details

    • Status

      public Status(int code, String message)
      Constructs a new Status object. object.
      Parameters:
      code - The status code of the HTTP request.
      message - The status description of the HTTP request.
  • Method Details

    • getCode

      public int getCode()
      Returns the status code of the HTTP request.
      Returns:
      The status code of the HTTP request.
    • setCode

      public void setCode(int code)
      Sets the status code of the HTTP request.
      Parameters:
      code - The status code of the HTTP request.
    • getMessage

      public String getMessage()
      Returns the status description of the HTTP request.
      Returns:
      The status description of the HTTP request.
    • setMessage

      public void setMessage(String message)
      Sets the status description of the HTTP request.
      Parameters:
      message - The status description of the HTTP request.