Ring 1.2.2 API documentation

A Clojure web applications library.

ring.middleware.content-type

Middleware for automatically adding a content type to response maps.

Public variables and functions:

ring.middleware.cookies

Cookie manipulation.

Public variables and functions:

ring.middleware.file

Static file serving.

Public variables and functions:

ring.middleware.file-info

Augment Ring File responses.

ring.middleware.flash

A session-based flash store that persists to the next request.

Public variables and functions:

ring.middleware.head

Middleware to simplify replying to HEAD requests.

Public variables and functions:

ring.middleware.keyword-params

Convert param keys to keywords.

Public variables and functions:

ring.middleware.multipart-params

Parse multipart upload into params.

Public variables and functions:

ring.middleware.multipart-params.byte-array

Public variables and functions:

ring.middleware.multipart-params.temp-file

Public variables and functions:

ring.middleware.nested-params

Convert a single-depth map of parameters to a nested map.

ring.middleware.not-modified

Middleware to return a 304 Not Modified response.

Public variables and functions:

ring.middleware.params

Parse form and query params.

Public variables and functions:

ring.middleware.resource

Middleware for serving static resources.

Public variables and functions:

ring.middleware.session

Session manipulation.

ring.middleware.session.cookie

Encrypted cookie session storage.

Public variables and functions:

ring.middleware.session.memory

In-memory session storage.

Public variables and functions:

ring.middleware.session.store

Common session store objects and functions.

ring.util.io

Utility functions for I/O in Ring.

ring.util.mime-type

Utility functions for finding out the mime-type of a file.

Public variables and functions:

ring.util.request

Devive information from a request map.

ring.util.response

Generate and augment Ring responses.

ring.util.test

Utilities for testing Ring components.

Public variables and functions:

ring.util.time

Functions for dealing with time and dates in HTTP requests.

Public variables and functions:

ring.handler.dump

Reflect Ring requests into responses for debugging.

Public variables and functions:

ring.middleware.lint

Lint Ring requests and responses.

Public variables and functions:

ring.middleware.stacktrace

Catch exceptions and render web and log stacktraces for debugging.

ring.adapter.jetty

Adapter for the Jetty webserver.

ring.util.servlet

Compatibility functions for turning a ring handler into a Java servlet.