Package yakworks.api

Interface ApiStatus

  • All Known Implementing Classes:
    HttpStatus

    @CompileStatic
    public interface ApiStatus
    Base interface for statuses.
    • Method Detail

      • getCode

        int getCode()
        Get the associated status code.
        Returns:
        the status code.
      • getReason

        java.lang.String getReason()
        Get the reason phrase.
        Returns:
        the reason phrase.