Interface Response<T>
- Type Parameters:
T
- the type of the payload.
public interface Response<T>
Represents a Http response and can be used as returned type of a
Request
method.-
Method Summary
-
Method Details
-
status
int status()- Returns:
- the http status of the response.
-
headers
- Returns:
- the response headers.
-
body
- Returns:
- the payload.
-
error
-