0.2.3 permalink Arrow_down_16x16

merge-servlet-keys

ring.util.servlet

  • (merge-servlet-keys request-map servlet request response)
Associate servlet-specific keys with the request map for use with legacy
systems.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source ring/util/servlet.clj:43 top

(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)}))
Vars in ring.util.servlet/merge-servlet-keys: defn merge
Used in 0 other vars

Comments top

No comments for merge-servlet-keys. Log in to add a comment.