io.pedestal libraries 0.8.0-SNAPSHOT
Namespaces
io.pedestal.environment
Information about the running environment for the Pedestal application.
Public variables and functions:
io.pedestal.http
This namespace ties together the many other namespaces to make it possible to succinctly define a service and start and stop a server for that service.
Public variables and functions:
- create-provider
- create-server
- create-servlet
- default-debug-observer-omit
- default-interceptors
- dev-interceptors
- edn-response
- enable-debug-interceptor-observer
- html-body
- interceptor-chain-provider
- json-body
- json-print
- json-response
- log-request
- not-found
- respond-with
- 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.body-params
Provides interceptors and support for parsing the body of a request, generally according to the content type header. This results in new keys on the request map, depending on the type of data parsed.
Public variables and functions:
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.jetty.container
Extends Pedestal protocols onto Jetty container classes.
Public variables and functions:
io.pedestal.http.request
Proxies around container data; under-utilized and to be removed in a future release.
Public variables and functions:
io.pedestal.http.request.map
Responsible for converting incoming HttpServletRequest into a Ring-compatible request map.
Public variables and functions:
io.pedestal.http.request.servlet-support
Extends the ContainerRequest and ResponseBuffer protocols to the Jakarta 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:
- *print-routing-table*
- decode-query-part
- encode-query-part
- expand-routes
- ExpandableRoutes
- form-action-for-routes
- is-routing-table?
- method-param
- parse-param-map
- parse-path-params
- parse-query-params
- parse-query-string
- path-params-decoder
- print-routes
- query-params
- router
- router-implementations
- routes-from
- try-routing-for
- url-for
- url-for-routes
io.pedestal.http.route.definition
Constants and utilities used when implementing a routing specification, routing definition, or router.
Public variables and functions:
io.pedestal.http.route.definition.verbose
Implementation of the verbose routing syntax.
Public variables and functions:
io.pedestal.http.route.specs
Clojure spec definitions related to routing descriptions and routing tables.
Public variables and functions:
io.pedestal.http.route.types
Home for protocols related to routes (that aren’t elsewhere for historical reasons).
Public variables and functions:
io.pedestal.http.secure-headers
Secure header settings applied in interceptors
io.pedestal.http.servlet
Generic Servlet adapter that closes over its implementation functions; this dynamically creates a Servlet instance that can be used with a servlet container such as Jetty.
Public variables and functions:
io.pedestal.http.tracing
HTTP request tracing based on Open Telemetry.
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
The implementation of the interceptor pattern, where a context map is passed through callbacks supplied by an extensible queue of interceptors, with provisions for error handling, observations, asynchronous executions, and other factors.
Public variables and functions:
io.pedestal.interceptor.chain.debug
Tools to help debug interceptor chain execution.
Public variables and functions:
io.pedestal.metrics
Metrics functionality, built on the metrics SPI (service provider interface).
Public variables and functions:
io.pedestal.metrics.otel
Default metrics implementation based on OpenTelemetry.
Public variables and functions:
io.pedestal.metrics.spi
Service Provider Interface for metrics providers; protocols that providers should expose and implement.
Public variables and functions:
io.pedestal.telemetry.otel-global-init
Uses GlobalOpenTelemetry to provide defaults for metrics source and tracing source.
Public variables and functions:
io.pedestal.test
Pedestal testing utilities to simplify working with pedestal apps.
io.pedestal.tracing.spi
Defines the TracingSource protocol, and provides implementations on nil and on OpenTelemetry’s Tracer.
Public variables and functions:
io.pedestal.websocket
Utilities needed by Pedestal container adapters (such as io.pedestal.jetty) to implement WebSocket support using default Servlet API functionality, as well as utilities for applications that make use Pedestal’s websocket support.
Public variables and functions: