Creates a new RequestReader that reads the result from the request.
Creates a new RequestReader that reads the result from the request.
the function to apply to the request
a new reader that reads the result from the request
Creates a new RequestReader that always produces the specified value.
Creates a new RequestReader that always produces the specified value. It will
succeed if the given Future
succeeds and fail if the Future
fails.
the value the new reader should produce
a new reader that always produces the specified value
Creates a new RequestReader that always fails, producing the specified exception.
Creates a new RequestReader that always fails, producing the specified exception.
the exception the new reader should produce
a new reader that always fails, producing the specified exception
Creates a new RequestReader that always succeeds, producing the specified value.
Creates a new RequestReader that always succeeds, producing the specified value.
the value the new reader should produce
a new reader that always succeeds, producing the specified value
Convenience methods for creating new reader instances.