Back

defservice (clj)

(source)

macro

(defservice handler) (defservice prefix handler) (defservice 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)

Examples