Liking cljdoc? Tell your friends :D

ring.adapter.tomcat

Ring adapter for Apache Tomcat

Ring adapter for Apache Tomcat
raw docstring

create-connector-fncljmacro

(create-connector-fn create-fn service options & executor)

create-executored-connectorcljmacro

(create-executored-connector connector-generator executor options)

create-executored-connectorscljmacro

(create-executored-connectors body service options)

default-http-portclj


default-https-portclj


http-connectorclj


https-ciphersclj


run-tomcatclj

(run-tomcat handler options)

Start a Tomcat to serve given handler with supplied options

:await? - block the thread until server get shutdown command (default: true) :http? - create http connector (default: true) :port - the port to listen on http connector (default: 8080) :https? - create https connector (default: false) :https-port - the port to listen on https connector (default: 8443) :keystore - path to keystore file include server certificate :key-pass - password of keystore file :tls-hostname - hostname to listen for https connector (default: default) :tls-protocol - list of SSL/TLS protocol to support for https connector (default: TLS) :tls-ciphers - list of SSL/TLS ciphers to support for https connector (default: too long. ECDHE-ECDSA and ECDHE-RSA ciphers) :executor? - use executor (default: true) :executor-name - name of executor (default: ring-executor) :max-threads - max number of threads in executor (default: 200) :min-spare-threads - minimum number of spare threads in executor (default: 25) :max-idle-time - max milliseconds before an idle thread shutsdown (default: 60000)

Start a Tomcat to serve given handler with supplied options

:await? - block the thread until server get shutdown command (default: true)
:http? - create http connector (default: true)
:port - the port to listen on http connector (default: 8080)
:https? - create https connector (default: false)
:https-port - the port to listen on https connector (default: 8443)
:keystore - path to keystore file include server certificate
:key-pass - password of keystore file
:tls-hostname - hostname to listen for https connector (default: _default_)
:tls-protocol - list of SSL/TLS protocol to support for https connector (default: TLS)
:tls-ciphers - list of SSL/TLS ciphers to support for https connector (default: too long. ECDHE-ECDSA and ECDHE-RSA ciphers)
:executor? - use executor (default: true)
:executor-name - name of executor (default: ring-executor)
:max-threads - max number of threads in executor (default: 200)
:min-spare-threads - minimum number of spare threads in executor (default: 25)
:max-idle-time - max milliseconds before an idle thread shutsdown (default: 60000)
raw docstring

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

× close