Package org.webmacro.servlet

Classes to support execution of WebMacro in a servlet container.

See:
          Description

Interface Summary
Handler Framework for handling template requests, requested by reactor.
ServletRouter Implements a router dispatcher pattern for a servlet handling a request in a WebMacro setting.
 

Class Summary
CGI_Impersonator Provided to mimic the CGI environment within the WebMacro script language via introspection.
CGITool Provide Template variables that implement the CGI standard for script variable names.
CookieJar Provide access to form variables
CookieTool Provide Template with access to form data.
Form Provide access to form variables
FormList Provide access to form variables
FormListTool Provide Template with access to form data.
FormTool Provide Template with access to form data.
ListTool Provide templates a uniform way of dealing with arrays and Lists
ListUtil A utility class for templates loaded into the context as "List" by ListTool.
LocaleTool Provide Template with access to Locales.
MathTool A ContextTool for performing the more useful methods from java.lang.Math.
RequestTool Provide Template with access to form data.
ResponseTool Provide Template with access to form data.
Servlet20Broker An implementation of Broker tailored for Servlet 2.0/2.1 environments.
Servlet22Broker An implementation of Broker tailored for Servlet 2.2 environments.
ServletBroker The base broker for Servlets and web applications.
ServletBroker.PropertiesPair  
ServletLog Implementation of AbstractLogFile which directs log information to the servlet log.
SessionTool Provide Template with access to the HttpSession associated with the current request.
TemplateServlet TemplateServlet provides a servlet to evaluate templates directly as long as the template type or types is mapped to this servlet.
TemplateTool This is an experimental context tool that allows templates to be used as macros.
TextTool A ContextTool for String manipulation.
TypeTool Provide templates a way to cast objects to primitive type wrappers
URLTool Provide Template with access to url handing routines
VariableTool A ContextTool which allows one to snoop information about an object in the active Context.
WebContext This is an implementation of the WebContext interface.
WMServlet This is an abstract base class which can be used to implement a kind of WebMacro servlet.
 

Exception Summary
ConfigException This is an exception, which Config may throw if something is wrong with the config file eg default variables cannot be located
HandlerException This is an exception which a Handler can throw to indicate that it does not want to process a connection request.
 

Package org.webmacro.servlet Description

Classes to support execution of WebMacro in a servlet container. This package contains a number of tools which are context helpers, servlet base classes, viewers and a subclass of the WebMacro context supporting evaluation of a template within a servlet container. TemplateServlet, WMServlet, and ServletRouter are designed to accelerate servlet devlopment. A WebContext will automatically contain references to web request variables, the session, a cookie handler, and the response object. For developers coming over from perl and legacy cgi environments, see the class file CGI_Impersonator to discover what methods in the Request object map to legacy CGI function calls.



Copyright © 1999-2006 WebMacro. All Rights Reserved.