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.
(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.
(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.
(get-context req)
(get-headers request)
Creates a name/value map of all the request headers.
Creates a name/value map of all the request headers.
(build-request-map r)
(send-error response code message)
(set-headers response headers)
Update a HttpServletResponse with a map of headers.
Update a HttpServletResponse with a map of headers.
(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.
(updgrade-servlet-request-map request)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close