Package org.takes.facets.fallback
Interface RqFallback
-
- 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
code()
Get HTTP status code suggested.Throwable
throwable()
Get throwable that occurred.
-
-
-
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
-
-