Package com.dnsimple.http
Class RawResponse
- java.lang.Object
-
- com.dnsimple.http.RawResponse
-
public class RawResponse extends java.lang.ObjectRawResponse holds key information about an HTTP response from DNSimple's API, including the status code, headers, and the response's body in the form of an InputStream.
-
-
Constructor Summary
Constructors Constructor Description RawResponse(int statusCode, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers, java.io.InputStream body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStreamgetBody()java.util.Map<java.lang.String,java.util.List<java.lang.String>>getHeaders()intgetStatusCode()
-