Compatibility functions for turning a ring handler into a Java servlet.
Compatibility functions for turning a ring handler into a Java servlet.
(async-context {:as request-map :keys [servlet-request ctrl]} ch)
(async-listener ctrl ch)
(build-request-map request)
Create the request map from the HttpServletRequest object.
Create the request map from the HttpServletRequest object.
(chan? x)
(ctrl-listener ctrl)
(flush-buffer! servlet-response)
(-write-stream! x output-stream close?)
(write-body! body servlet-response request-map)
(-update-response x servlet-response)
(set-body! servlet-response {:keys [ctrl] :as request-map} body)
(set-response-body! servlet-response request-map body)
(throw-invalid-response! x)
(update-response x request-map)
(write-stream! stream x request-map close?)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close