Liking cljdoc? Tell your friends :D

ring-jetty.adapter.jetty

A Ring adapter that uses the Jetty 9 embedded web server.

Adapters are used to convert Ring handlers into running web servers. Derived from ring.adapter.jetty and info.sunng/ring-jetty9-adapter

A Ring adapter that uses the Jetty 9 embedded web server.

Adapters are used to convert Ring handlers into running web servers.
Derived from ring.adapter.jetty and info.sunng/ring-jetty9-adapter
raw docstring

RequestMapDecodercljprotocol

build-request-mapclj

(build-request-map r)
source

run-jettyclj

(run-jetty handler options)

Start a Jetty webserver to serve the given handler according to the supplied options:

:configurator - a function called with the Jetty Server instance :port - the port to listen on (defaults to 80) :host - the hostname to listen on :join? - blocks the thread until server ends (defaults to true) :daemon? - use daemon threads (defaults to false) :ssl? - allow connections over HTTPS :ssl-port - the SSL port to listen on (defaults to 443, implies :ssl?) :keystore - the keystore to use for SSL connections :key-password - the password to the keystore :truststore - a truststore to use for SSL connections :trust-password - the password to the truststore :max-threads - the maximum number of threads to use (default 50) :min-threads - the minimum number of threads to use (default 8) :max-queued - the maximum number of requests to queue (default unbounded) :max-idle-time - the maximum idle time in milliseconds for a connection (default 200000) :ws-max-idle-time - the maximum idle time in milliseconds for a websocket connection (default 500000) :client-auth - SSL client certificate authenticate, may be set to :need, :want or :none (defaults to :none) :websockets - a map from context path to a map of handler fns

Start a Jetty webserver to serve the given handler according to the
supplied options:

:configurator   - a function called with the Jetty Server instance
:port           - the port to listen on (defaults to 80)
:host           - the hostname to listen on
:join?          - blocks the thread until server ends (defaults to true)
:daemon?        - use daemon threads (defaults to false)
:ssl?           - allow connections over HTTPS
:ssl-port       - the SSL port to listen on (defaults to 443, implies :ssl?)
:keystore       - the keystore to use for SSL connections
:key-password   - the password to the keystore
:truststore     - a truststore to use for SSL connections
:trust-password - the password to the truststore
:max-threads    - the maximum number of threads to use (default 50)
:min-threads    - the minimum number of threads to use (default 8)
:max-queued     - the maximum number of requests to queue (default unbounded)
:max-idle-time  - the maximum idle time in milliseconds for a connection (default 200000)
:ws-max-idle-time  - the maximum idle time in milliseconds for a websocket connection (default 500000)
:client-auth    - SSL client certificate authenticate, may be set to :need,
                  :want or :none (defaults to :none)
:websockets     - a map from context path to a map of handler fns
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close