Liking cljdoc? Tell your friends :D

org.bovinegenius.exploding-fish


*default-encoding*clj

Default encoding for query params.

Default encoding for query params.
raw docstring

absolute-path?clj

(absolute-path? uri)

Returns true if the given uri path is absolute.

Returns true if the given uri path is absolute.
raw docstring

absolute?clj

(absolute? uri)

Returns true if the given URI is absolute.

Returns true if the given URI is absolute.
raw docstring

default-encodingclj

(default-encoding)

Get the default encoding for query params.

Get the default encoding for query params.
raw docstring

map->stringclj

(map->string uri)

Convert a URI in map form to a string.

Convert a URI in map form to a string.
raw docstring

map->uriclj

(map->uri uri)

Convert a hash-map into a java.net.URI.

Convert a hash-map into a java.net.URI.
raw docstring

normalize-pathclj

(normalize-path uri)

Normalize the path of the given uri.

Normalize the path of the given uri.
raw docstring

paramclj

(param uri key)
(param uri key value)
(param uri key value index)

Get the last param value that matches the given key. If 3 args are given, set the first param value that matches the given key, and remove the remaining params that match the given key. If 4 args are given, set the nth param value that matches the given key.

Get the last param value that matches the given key. If 3 args are
given, set the first param value that matches the given key, and
remove the remaining params that match the given key. If 4 args are
given, set the nth param value that matches the given key.
raw docstring

param-rawclj

(param-raw uri key)
(param-raw uri key value)
(param-raw uri key value index)

Get the last param value that matches the given key. If 3 args are given, set the first param value that matches the given key, and remove the remaining params that match the given key. If 4 args are given, set the nth param value that matches the given key.

Get the last param value that matches the given key. If 3 args are
given, set the first param value that matches the given key, and
remove the remaining params that match the given key. If 4 args are
given, set the nth param value that matches the given key.
raw docstring

paramsclj

(params uri)
(params uri key)

Returns an alist of the query values whose key matches the given key. If no key is given, all values are returned.

Returns an alist of the query values whose key matches the given
key. If no key is given, all values are returned.
raw docstring

params-rawclj

(params-raw uri)
(params-raw uri key)

Returns an alist of the query values whose key matches the given key. If no key is given, all values are returned.

Returns an alist of the query values whose key matches the given
key. If no key is given, all values are returned.
raw docstring

query-keysclj

(query-keys uri)

Returns a list of the query string keys of the given URI.

Returns a list of the query string keys of the given URI.
raw docstring

query-listclj

(query-list uri)

Returns a list from the query string of the given URI.

Returns a list from the query string of the given URI.
raw docstring

query-mapclj

(query-map uri)
(query-map uri param-map)

Returns a map of the query string parameters for the given URI.

Returns a map of the query string parameters for the given URI.
raw docstring

query-pairsclj

(query-pairs uri)
(query-pairs uri key)

Returns an alist of the query params matching the given key. If no key is given, an alist of all the query params is returned. The keys and values of the pairs are URL decoded.

Returns an alist of the query params matching the given key. If no
key is given, an alist of all the query params is returned. The keys
and values of the pairs are URL decoded.
raw docstring

raw-keysclj

(raw-keys uri)

Returns a list of the query string keys of the given URI.

Returns a list of the query string keys of the given URI.
raw docstring

raw-pairsclj

(raw-pairs uri)
(raw-pairs uri key)

Returns an alist of the query params matching the given key. If no key is given, an alist of all the query params is returned.

Returns an alist of the query params matching the given key. If no
key is given, an alist of all the query params is returned.
raw docstring

resolve-pathclj

(resolve-path the-uri the-path)

Resolve the given path against the given uri.

Resolve the given path against the given uri.
raw docstring

resolve-uriclj

(resolve-uri src-uri target-uri)

Resolves a target uri from a source uri. Essentially this is an implementation of: -> RFC 2396 -> RFC 1808 This implementation and the associated tests based on this document: http://www.ics.uci.edu/~fielding/url/test2.html

Resolves a target uri from a source uri.
Essentially this is an implementation of:
-> RFC 2396
-> RFC 1808
This implementation and the associated tests based on
this document: http://www.ics.uci.edu/~fielding/url/test2.html
raw docstring

string->mapclj

(string->map string)

Convert a URI in string form to a map.

Convert a URI in string form to a map.
raw docstring

UniformResourceIdentifiercljprotocol

Protocol for dealing with URIs.

Protocol for dealing with URIs.

queryclj

(query self)
(query self new-query)

Get or set the query string of the URI.

Get or set the query string of the URI.

schemeclj

(scheme self)
(scheme self new-scheme)

Get or set the scheme component of the URI.

Get or set the scheme component of the URI.

pathclj

(path self)
(path self new-path)

Get or set the path of the URI.

Get or set the path of the URI.

user-infoclj

(user-info self)
(user-info self new-user-info)

Get or set the user-info of the URI.

Get or set the user-info of the URI.

fragmentclj

(fragment self)
(fragment self new-fragment)

Get or set the fragment of the URI.

Get or set the fragment of the URI.

authorityclj

(authority self)
(authority self new-authority)

Get or set the authority of the URI.

Get or set the authority of the URI.

portclj

(port self)
(port self new-port)

Get or set the port of the URI.

Get or set the port of the URI.

scheme-relativeclj

(scheme-relative self)
(scheme-relative self new-scheme-relative)

Get or set the scheme specific part of the URI.

Get or set the scheme specific part of the URI.

hostclj

(host self)
(host self new-host)

Get or set the host of the URI.

Get or set the host of the URI.
raw docstring

uriclj

(uri uri)

Builds a Uri object. Takes a map of URI keys, a URI string, or another Uri object.

Builds a Uri object. Takes a map of URI keys, a URI string, or
another Uri object.
raw docstring

uri->mapclj

(uri->map uri)

Convert a java.net.URI into a hash-map.

Convert a java.net.URI into a hash-map.
raw docstring

with-encodingcljmacro

(with-encoding encoding & body)

Run body with the given encoding as the default-encoding.

Run body with the given encoding as the default-encoding.
raw docstring

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

× close