Interface RqFallback

  • All Superinterfaces:
    Body, Head, Request
    All Known Implementing Classes:
    RqFallback.Fake

    public interface RqFallback
    extends Request
    Request with an error inside.

    All implementations of this interface must be immutable and thread-safe.

    Since:
    0.1
    See Also:
    TkFallback
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  RqFallback.Fake
      Fake implementation, for unit tests mostly.
    • Method Detail

      • code

        int code()
        Get HTTP status code suggested.
        Returns:
        HTTP status code
        Since:
        0.13
      • throwable

        Throwable throwable()
        Get throwable that occurred.
        Returns:
        Throwable