Associate servlet-specific keys with the request map for use with legacy
systems.
(defn merge-servlet-keys
"Associate servlet-specific keys with the request map for use with legacy
systems."
[request-map
#^HttpServlet servlet
#^HttpServletRequest request
#^HttpServletResponse response]
(merge request-map
{:servlet servlet
:servlet-request request
:servlet-response response
:servlet-context (.getServletContext servlet)}))
Comments top
No comments for merge-servlet-keys. Log in to add a comment.