Custom Request Handler

To create a way to have seaside serve files or images from the disk, try this:

  • Subclass WAEntryPoint
    • implement #handleRequest to:
      1. parse the Request
      2. read the file
      3. create a Response with the file
      4. return it
  • implement #description (class side) to return 'File System' or 'Images'
  • Add the new class as an Application at, for example, /images (it automatically shows up on the list of things to add)