Liking cljdoc? Tell your friends :D

io.pedestal.service-tools.war


app-server-nsclj

(app-server-ns opts)

default-pedestal-manifestclj


dir-entryclj

(dir-entry war opts war-root dir-path)

file-entryclj

(file-entry war opts war-path file)

in-war-pathclj

(in-war-path war-path root file)

make-manifestclj

(make-manifest)
(make-manifest manifest-map)

make-web-xmlclj

(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]
raw docstring

manifest-strclj

(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
raw docstring

skip-file?clj

(skip-file? file war-path exclusions)

string-input-streamclj

(string-input-stream s)

warclj

(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
raw docstring

war-file-pathclj

(war-file-path target-dir war-name)

write-entryclj

(write-entry war war-path entry)

write-warclj

(write-war opts war-path & postprocess-fns)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close