Link

toolkit / com.sas.android.visualanalytics.sdk / HttpHandler / HttpResponse

HttpResponse

interface HttpResponse : Closeable

Encapsulates an HTTP/HTTPS response.

Since 8.30

Properties

byteStream abstract val byteStream: InputStream?
The output from the HTTP response.
code abstract val code: Int
The response code returned by the HTTP response.
headers abstract val headers: List<Pair<String, String>>?
The headers returned as part of the HTTP response.
message abstract val message: String?
The response phrase, or null if none, returned by the HTTP response.
request abstract val request: HttpHandler.HttpRequest
The original HTTP request.

Inheritors

OkHttpResponse inner class OkHttpResponse : HttpHandler.HttpResponse