io.pedestal libraries 0.7.1
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
- 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
- routes-from
- try-routing-for
- url-for
- url-for-routes
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.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
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.interceptor.chain.debug
Tools to help debug interceptor chain execution.
Public variables and functions:
io.pedestal.log
Public variables and functions:
- *mdc-context*
- active-span
- add-span-baggage!
- counter
- debug
- default-formatter
- 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.metrics
Metrics functionality, built on the metrics SPI (service provider interface).
Public variables and functions:
io.pedestal.metrics.codahale
Extends the MetricSource SPI to the Codahale metrics library supplied by DropWizard.
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: