Liking cljdoc? Tell your friends :D

jdk.net.HttpRetryException

Thrown to indicate that a HTTP request needs to be retried but cannot be retried automatically, due to streaming mode being enabled.

Thrown to indicate that a HTTP request needs to be retried
but cannot be retried automatically, due to streaming mode
being enabled.
raw docstring

->http-retry-exceptionclj

(->http-retry-exception detail code)
(->http-retry-exception detail code location)

Constructor.

Constructs a new HttpRetryException with detail message responseCode and the contents of the Location response header field.

detail - the detail message. - java.lang.String code - the HTTP response code from server. - int location - the URL to be redirected to - java.lang.String

Constructor.

Constructs a new HttpRetryException with detail message
 responseCode and the contents of the Location response header field.

detail - the detail message. - `java.lang.String`
code - the HTTP response code from server. - `int`
location - the URL to be redirected to - `java.lang.String`
raw docstring

get-locationclj

(get-location this)

Returns the value of the Location header field if the error resulted from redirection.

returns: The location string - java.lang.String

Returns the value of the Location header field if the
 error resulted from redirection.

returns: The location string - `java.lang.String`
raw docstring

get-reasonclj

(get-reason this)

Returns a string explaining why the http request could not be retried.

returns: The reason string - java.lang.String

Returns a string explaining why the http request could
 not be retried.

returns: The reason string - `java.lang.String`
raw docstring

response-codeclj

(response-code this)

Returns the http response code

returns: The http response code. - int

Returns the http response code

returns: The http response code. - `int`
raw docstring

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

× close