Pedestal.service 0.5.1-SNAPSHOT
Pedestal Service.
Installation
To install, add the following dependency to your project or build file:
[io.pedestal/pedestal.service "0.5.1-SNAPSHOT"]
Namespaces
io.pedestal.http
Namespace which ties all the pedestal components together in a sensible default way to make a full blown application.
Public variables and functions:
- create-provider
- create-server
- create-servlet
- default-interceptors
- dev-interceptors
- edn-response
- html-body
- interceptor-chain-provider
- json-body
- json-print
- json-response
- log-request
- not-found
- response?
- server
- service-fn
- servlet
- servlet-destroy
- servlet-init
- servlet-service
- start
- stop
- transit-body
- transit-json-body
- transit-msgpack-body
io.pedestal.http.container
Deeper Pedestal<->Container integration and cooperation for HTTP handling
Public variables and functions:
io.pedestal.http.csrf
CSRF protection interceptor support, compatible with ring-anti-forgery
Public variables and functions:
io.pedestal.http.impl.servlet-interceptor
Interceptors for adapting the Java HTTP Servlet interfaces.
Public variables and functions:
io.pedestal.http.ring-middlewares
This namespace creates interceptors for ring-core middlewares.
Public variables and functions:
io.pedestal.http.secure-headers
Secure header settings applied in interceptors
Public variables and functions:
io.pedestal.http.servlet
Generic Servlet adapter that closes over its implementation functions.
Public variables and functions:
io.pedestal.interceptor
Public API for creating interceptors, and various utility fns for common interceptor creation patterns.
Public variables and functions:
io.pedestal.interceptor.chain
Interceptor pattern. Executes a chain of Interceptor functions on a common "context" map, maintaining a virtual "stack", with error handling and support for asynchronous execution.
Public variables and functions:
io.pedestal.log
Logging via slf4j. Each logging level is a macro: trace, debug, info, warn, and error. Each namespace gets its own Logger. Arguments are key-value pairs, which will be printed as with 'pr'. The special key :exception should have a java.lang.Throwable as its value, and will be passed separately to the underlying logging API. One can override the logger via JVM or ENVAR settings.
Public variables and functions:
io.pedestal.test
Pedestal testing utilities to simplify working with pedestal apps.