Liking cljdoc? Tell your friends :D

qbits.jet.servlet

Compatibility functions for turning a ring handler into a Java servlet.

Compatibility functions for turning a ring handler into a Java servlet.
raw docstring

async-contextclj

(async-context {:as request-map :keys [servlet-request ctrl]} ch)

async-listenerclj

(async-listener ctrl ch)

build-request-mapclj

(build-request-map request)

Create the request map from the HttpServletRequest object.

Create the request map from the HttpServletRequest object.
raw docstring

chan?clj

(chan? x)

ctrl-listenerclj

(ctrl-listener ctrl)

flush-buffer!clj

(flush-buffer! servlet-response)

OutputStreamWritablecljprotocol

-write-stream!clj

(-write-stream! x output-stream close?)

PBodyWritablecljprotocol

write-body!clj

(write-body! body servlet-response request-map)

PResponsecljprotocol

-update-responseclj

(-update-response x servlet-response)

set-body!clj

(set-body! servlet-response {:keys [ctrl] :as request-map} body)

set-response-body!clj

(set-response-body! servlet-response request-map body)

throw-invalid-response!clj

(throw-invalid-response! x)

update-responseclj

(update-response x request-map)

write-stream!clj

(write-stream! stream x request-map close?)

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

× close