ring.util.servlet
(source)Compatibility functions for turning a ring handler into a Java servlet.
For more info about this library see:
https://github.com/ring-clojure/ring/wikiPublic Variable | Short Description |
---|---|
build-request-map (clj) | Create the request map from the HttpServletRequest object. |
defservice (clj) | Defines a service method with an optional prefix suitable for being used by genclass to compile a HttpServlet class. |
make-service-method (clj) | 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. |
merge-servlet-keys (clj) | Associate servlet-specific keys with the request map for use with legacy systems. |
servlet (clj) | Create a servlet from a Ring handler. |
update-servlet-response (clj) | Update the HttpServletResponse using a response map. |