Compatibility functions for turning a ring handler into a Java servlet.
Type: var
Arguments:
[request]
Create the request map from the HttpServletRequest object.
Type: macro
Arguments:
[handler]
[prefix handler]
[prefix handler options]
Defines a service method with an optional prefix suitable for being used by
genclass to compile a HttpServlet class.
For example:
(defservice my-handler)
(defservice "my-prefix-" my-handler)
Type: var
Arguments:
[handler]
[handler options]
Turns a handler into a function that takes the same arguments and has the
same return value as the service method in the HttpServlet class.
Type: var
Arguments:
[request-map servlet request response]
Associate servlet-specific keys with the request map for use with legacy
systems.
Type: var
Arguments:
[handler]
[handler options]
Create a servlet from a Ring handler.
Type: var
Arguments:
[response response-map]
[response context response-map]
Update the HttpServletResponse using a response map. Takes an optional
AsyncContext.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close