Liking cljdoc? Tell your friends :D

slipway.servlet

This ns pulls in most of ring.util.servlet that we would otherwise use, but are unable to do so because ring depends on the javax servlet API, rather than the jakarta one. Once a jakarta compatible version of ring is available this ns can model the javax/slipway.servlet ns.

This ns pulls in most of ring.util.servlet that we would otherwise use, but are unable to do so because
ring depends on the javax servlet API, rather than the jakarta one.
Once a jakarta compatible version of ring is available this ns can model the javax/slipway.servlet ns.
raw docstring

get-client-certclj

(get-client-cert request)

Returns the SSL client certificate of the request, if one exists.

Returns the SSL client certificate of the request, if one exists.
raw docstring

get-content-lengthclj

(get-content-length request)

Returns the content length, or nil if there is no content.

Returns the content length, or nil if there is no content.
raw docstring

get-contextclj

(get-context req)

get-headersclj

(get-headers request)

Creates a name/value map of all the request headers.

Creates a name/value map of all the request headers.
raw docstring

RequestMapDecodercljprotocol

build-request-mapclj

(build-request-map r)

send-errorclj

(send-error response code message)

set-headersclj

(set-headers response headers)

Update a HttpServletResponse with a map of headers.

Update a HttpServletResponse with a map of headers.
raw docstring

update-servlet-responseclj

(update-servlet-response response response-map)
(update-servlet-response response context response-map)

Update the HttpServletResponse using a response map. Takes an optional AsyncContext.

Update the HttpServletResponse using a response map. Takes an optional AsyncContext.
raw docstring

updgrade-servlet-request-mapclj

(updgrade-servlet-request-map request)

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

× close