Module Iowa
In: src/Application.rb
src/ApplicationStats.rb
src/Association.rb
src/BindingsParser.rb
src/Client.rb
src/Component.rb
src/ComponentProxy.rb
src/Context.rb
src/DbPool.rb
src/DynamicElements.rb
src/Element.rb
src/Form.rb
src/LRUCache.rb
src/PageStore.rb
src/Request.rb
src/Session.rb
src/SessionStats.rb
src/SessionStore.rb
src/Tag.rb
src/TemplateParser.rb
src/Email.rb
src/HTTPServer.rb
iowa.rb

TODO: Add some more of the Apache::Request methods, especially those dealing with authentication.

Methods

Classes and Modules

Module Iowa::FormElements
Module Iowa::R
Class Iowa::A
Class Iowa::Application
Class Iowa::ApplicationStats
Class Iowa::Association
Class Iowa::BindingsParser
Class Iowa::BodyContent
Class Iowa::Client
Class Iowa::Component
Class Iowa::ComponentProxy
Class Iowa::Context
Class Iowa::DbPool
Class Iowa::Element
Class Iowa::Email
Class Iowa::FileData
Class Iowa::HTTPServer
Class Iowa::If
Class Iowa::IgnoreRequest
Class Iowa::LRUCache
Class Iowa::LiteralAssociation
Class Iowa::MissingConnectionException
Class Iowa::OL
Class Iowa::PageExpired
Class Iowa::PageStore
Class Iowa::PathAssociation
Class Iowa::ReInitException
Class Iowa::Repeat
Class Iowa::Request
Class Iowa::Resource
Class Iowa::Session
Class Iowa::SessionStats
Class Iowa::SessionStore
Class Iowa::Span
Class Iowa::String
Class Iowa::TR
Class Iowa::Table
Class Iowa::Tag
Class Iowa::TemplateParser
Class Iowa::TextElement
Class Iowa::UL
Class Iowa::Unless
Class Iowa::WEBrickServlet

Public Class methods

Check that the minimum required information is present in the configuration, and set the defaults for information that was omitted. Exceptions will be raised if socket information is missing, or if either socket or logging information seems to have errors.

Handle the communications coming in on the monitored socket, create a context object from the data received, and then pass the context information into the Application object for final handling. Exception handling is simply via capturing the Exception and outputting a stack backtrace (this could be improved).

An Iowa appplication’s configuration is given in a plain text file formatted as YAML (www.yaml.org).

Outputs the location of the socket being monitored, then enters the event loop to wait for and handle connections.

Forks the process. The parent outputs the PID of the child (so that an external invocation process can capture this information) and then exits. The child sets inself as it’s session leader and returns.

Initialize logging mechanisms

[Validate]