io.pedestal libraries 0.6.3
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-body-interceptor
- 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
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.route
Public variables and functions:
- decode-query-part
- encode-query-part
- expand-routes
- ExpandableRoutes
- form-action-for-routes
- method-param
- parse-param-map
- parse-path-params
- parse-query-params
- parse-query-string
- path-params-decoder
- print-routes
- query-params
- router
- router-implementations
- RouterSpecification
- try-routing-for
- url-for
- url-for-routes
io.pedestal.http.secure-headers
Secure header settings applied in interceptors
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:
- *mdc-context*
- active-span
- add-span-baggage!
- counter
- debug
- default-recorder
- default-tracer
- error
- finish-span
- format-name
- gauge
- histogram
- info
- jmx-reporter
- log
- log-level-dispatch
- log-reporter
- log-span
- LoggerSource
- LoggingMDC
- make-logger
- maybe-init-java-util-log
- mdc-context-key
- meter
- metric-registry
- MetricRecorder
- override-logger
- span
- span-baggage
- span-log-error-kind
- span-log-error-obj
- span-log-event
- span-log-msg
- span-log-stack
- spy
- tag-span
- trace
- TraceOrigin
- TraceSpan
- TraceSpanBaggage
- TraceSpanLog
- TraceSpanLogMap
- warn
- with-context
- with-context-kv
io.pedestal.test
Pedestal testing utilities to simplify working with pedestal apps.