(app-server-ns opts)
(dir-entry war opts war-root dir-path)
(file-entry war opts war-path file)
(in-war-path war-path root file)
(make-manifest)
(make-manifest manifest-map)
(make-web-xml opts)
Given a map of options, return a string of XML - the web.xml for the service/WAR.
Available options and default values :web-xml - a slurpable path, which is returned as the web.xml string. NOTE: All other options will be ignored. :servlet-description "Pedestal HTTP Servlet" :servlet-display-name - defaults to :servlet-description :servlet-name "PedestalServlet" :servlet-class "io.pedestal.servlet.ClojureVarServlet" :url-patterns "/*" :server-ns - Requires there to be fns [servlet-init servlet-service servlet-destroy]
Given a map of options, return a string of XML - the web.xml for the service/WAR. Available options and default values :web-xml - a slurpable path, which is returned as the web.xml string. NOTE: All other options will be ignored. :servlet-description "Pedestal HTTP Servlet" :servlet-display-name - defaults to :servlet-description :servlet-name "PedestalServlet" :servlet-class "io.pedestal.servlet.ClojureVarServlet" :url-patterns "/*" :server-ns - Requires there to be fns [servlet-init servlet-service servlet-destroy]
(manifest-str manifest-map)
Given a map of manifest keys/values, Return a string of the single Manifest contents
Given a map of manifest keys/values, Return a string of the single Manifest contents
(skip-file? file war-path exclusions)
(string-input-stream s)
Returns a ByteArrayInputStream for the given String.
Returns a ByteArrayInputStream for the given String.
(war opts)
(war opts war-name-str)
Create a PedestalService.war file. Optionally pass in a war file name. Various options are supported via the opt map :target-path - where the war will be saved; defaults to "." :manifest - a map of override/additional Manifest entries; keys and values are both strings :compile-path - an optional, additional path of compiled resources to include :resource-paths - a vector of all additional sources, resources, war-resources to include :war-exclusions - a vector of regex strings; patterns of file names to exclude in the war
Create a PedestalService.war file. Optionally pass in a war file name. Various options are supported via the opt map :target-path - where the war will be saved; defaults to "." :manifest - a map of override/additional Manifest entries; keys and values are both strings :compile-path - an optional, additional path of compiled resources to include :resource-paths - a vector of all additional sources, resources, war-resources to include :war-exclusions - a vector of regex strings; patterns of file names to exclude in the war
(war-file-path target-dir war-name)
(write-entry war war-path entry)
(write-war opts war-path & postprocess-fns)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close