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.
sourceraw 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.
sourceraw docstring

get-contextclj

(get-context req)
source

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.
sourceraw docstring

RequestMapDecodercljprotocol

build-request-mapclj

(build-request-map r)
source

send-errorclj

(send-error response code message)
source

set-headersclj

(set-headers response headers)

Update a HttpServletResponse with a map of headers.

Update a HttpServletResponse with a map of headers.
sourceraw 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.
sourceraw docstring

updgrade-servlet-request-mapclj

(updgrade-servlet-request-map request)
source

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

× close