BedSheet 1.5.18
A framework and IoC container for web applications

BedSheet is a platform for delivering web applications written in Fantom. It provides a rich middleware mechanism for the routing and delivery of content over HTTP.

  • An IoC Container - BedSheet applications are IoC applications
  • Proxy Mode - Never (manually) restart your application again!
  • Routing - Map URLs to Fantom methods
  • Route Handlers - Map URLs to file system and pod resources
  • Error Handling - Customised error handling and detailed error reporting
  • Status Pages - Customise 404 and 500 pages

BedSheet is built on top of IoC and Wisp, and was inspired by Java's Tapestry5 and Ruby's Sinatra.



To install BedSheet with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install BedSheet with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/ directory.

afBedSheet.pod (433.97 kB)


To use BedSheet in a Fantom project, add a dependency to the project's

depends = ["sys 1.0", ..., "afBedSheet 1.5.18 - 1.5"]



Meta information on the BedSheet pod:

Published by
Steve Eynon
Fantom-Factory Ltd
Pod file size
433.97 kB
Built on
7th Dec 2022
Source code
via Git at
Depends on
afBeanUtils, afConcurrent, afIoc, afIocConfig, afIocEnv, concurrent, inet, sys, util, web, wisp
Referenced by
afBedNap, afBedSheetDraft, afBedSheetEfan, afBedSheetMoustache, afBounce, afColdFeet, afDuvet, afEggbox, afFindEmma, afGoogleAnalytics, afPillow, afSitemap, afSleepSafe
Javascript Compatible

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 52 releases of BedSheet: