Package com.inrupt.client
Interface Response.ResponseInfo
public static interface Response.ResponseInfo
Initial response info supplied to a
Response.BodyHandler
before the body is processed.-
Method Details
-
headers
Headers headers()Retrieve the response headers.- Returns:
- the response headers
-
uri
URI uri()Retrieve the URI of the response.- Returns:
- the response URI
-
statusCode
int statusCode()Retrieve the status code from the response.- Returns:
- the response status
-
body
ByteBuffer body()Retrieve the response body as a byte buffer.- Returns:
- the body
-