podafBedSheet

Something fresh and clean to lay your web app on!

Mixins

ErrProcessor

Responsible for processing Errs thrown from web handler methods and sending err pages to the client.

Request

An injectable const version of WebReq.

Response

An injectable const version of WebRes.

ResultProcessor

Responsible for processing handler return values and sending content to the client.

ValueEncoder

Responsible for converting values to and from Strs, used to inject values into web handler methods.

Classes

BedSheetWebMod

The top-level web::WebMod to be passed to Wisp.

ConfigIds

Config values as provided by BedSheet.

ConfigSource

Provides injectable application config values.

ErrProcessorSource

Holds a collection of ErrProcessors.

FileHandler

Maps files to URIs

GzipCompressible

Holds a list of MimeTypes that may be gzip'ed in a http response.

GzipOutStream

A stream that starts gzipping once data has accumulated past a given (minimum) threshold.

JsonResult

Return from Handler methods to send a JSON response to the client.

Main
MoustacheSource

A cache of Mustache templates.

QualityValues

Parses a Str of HTTP qvalues as per HTTP 1.1 Spec / rfc2616-sec14.3.

ResultProcessorSource

Holds a collection of HandlerResultProcessors.

Route

Route maps a URI to a method handler.

RouteSource

Router handles routing URIs to method handlers.

TextResult

Return from Handler methods to send a text response to the client.

ValueEncoderSource

Holds a collection of ValueEncoders.

Facets

Config

Use with @Inject to inject config values into your classes.

Errs

BedSheetErr

As thrown by BedSheet

HttpStatusErr

Throw at any point to return / handle the http status.