Liking cljdoc? Tell your friends :D

io.pedestal.service-tools.war


app-server-nsclj

(app-server-ns opts)
source

default-pedestal-manifestclj

source

dir-entryclj

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

file-entryclj

(file-entry war opts war-path file)
source

in-war-pathclj

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

make-manifestclj

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

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]
sourceraw 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
sourceraw docstring

skip-file?clj

(skip-file? file war-path exclusions)
source

string-input-streamclj

(string-input-stream s)
source

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
sourceraw docstring

war-file-pathclj

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

write-entryclj

(write-entry war war-path entry)
source

write-warclj

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

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

× close