Liking cljdoc? Tell your friends :D

jdk.net.CacheResponse

Represent channels for retrieving resources from the ResponseCache. Instances of such a class provide an InputStream that returns the entity body, and also a getHeaders() method which returns the associated response headers.

Represent channels for retrieving resources from the
ResponseCache. Instances of such a class provide an
InputStream that returns the entity body, and also a
getHeaders() method which returns the associated response headers.
raw docstring

->cache-responseclj

(->cache-response)

Constructor.

Constructor.
raw docstring

get-bodyclj

(get-body this)

Returns the response body as an InputStream.

returns: an InputStream from which the response body can be accessed - java.io.InputStream

throws: java.io.IOException - if an I/O error occurs while getting the response body

Returns the response body as an InputStream.

returns: an InputStream from which the response body can
         be accessed - `java.io.InputStream`

throws: java.io.IOException - if an I/O error occurs while getting the response body
raw docstring

get-headersclj

(get-headers this)

Returns the response headers as a Map.

returns: An immutable Map from response header field names to lists of field values. The status line has null as its field name. - java.util.Map<java.lang.String,java.util.List<java.lang.String>>

throws: java.io.IOException - if an I/O error occurs while getting the response headers

Returns the response headers as a Map.

returns: An immutable Map from response header field names to
         lists of field values. The status line has null as its
         field name. - `java.util.Map<java.lang.String,java.util.List<java.lang.String>>`

throws: java.io.IOException - if an I/O error occurs while getting the response headers
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close