cmr.client.http.impl
The Clojure implementation of the CMR service HTTP client.
client-behaviour
A map of method names to implementations.
Intended for use by the extend
protocol function.
convert-body
(convert-body response content-type)
Given a response and a content type, convert the body according to the type. d
create-http-client-args
(create-http-client-args client url options)
Create a list of args that can be usd with the CMR HTTP client by applying them.
create-http-options
(create-http-options client call-options)
This function is intended to be used with every call, giving the call the opportunity to override the HTTP client options saved when the client was instantiated.
default-options
The default HTTP option for the Clojure implementation of the CMR HTTP client.
get-conn-mgr-option
(get-conn-mgr-option client)
Given a client object, return a connection manager based on the client options set in the parent service API client.
get-http-func
(get-http-func method)
Documentation forthcoming
parse-body!
(parse-body! response)
(parse-body! response content-type)
Parse the body of a response, converting the body based on the provided content type.
parse-content-type
(parse-content-type response)
Parse the content type of the given response.