Class Summary | |
---|---|
AclSwitchHandler | Simple access control hander based on url prefixes or regexps. |
AddHeaderTemplate | Template class for adding arbitrary mime headers to a reply. |
AfterTemplate | Template for running markup after a while. all the markup between the <after> and matching </after> tags are remembered. |
AllowGtTemplate | Template that changes the behavior of the HTML/XML parser to allow unescaped >'s inside of entity attribute values. |
AsteriskAGIHandler | FAGI (fast AGI) handler and template for Asterisk. |
AsteriskHandler | Connect to asterisk manager api. |
AsteriskHandler.AmiStringMap | This class is built on top of the StringMap class and adds methods for reading Asterisk ManagerInterface replies. |
AsteriskHandler.EventItem | Keep track of an event listener entry. |
AsteriskHandler.Events | Class to manage the set of events. |
Base64 | Utility to base64 encode and decode a string. |
BasicAuthHandler |
The BasicAuthHandler obtains a Session ID by performing
"basic" authentication, using either the "Authorization" or the
"Proxy-Authorization" headers. |
BSLTemplate |
The BSLTemplate takes an HTML document with embedded "BSL"
markup tags in it and evaluates those special tags to produce a
standard HTML document.
|
CacheManager |
This SessionManager associates an object with a Session ID
to give Handlers the ability to maintain state that lasts for the
duration of a session instead of just for the duration of a request.
|
Calculator | Calculator implements a simple arithmetic expression evaluator. |
CgiHandler | Handler for implementing cgi/1.1 interface. |
ChainHandler | Allows multiple handlers to be invoked sequentially for a single HTTP request. |
ChainSawHandler | Variant of the chain handler for doing standard logging. |
ChangedTemplate |
This Template adds an icon to HREFs to indicate when the
file being referred to is new, changed, or unchanged with respect
to the user's session.
|
ChownHandler | Handler for changing the group and owner of the server. |
ClockFormat | This class implements the "strftime" style clock format command. |
ClockScan | This class implements time and date scanning. |
ConfigFileHandler | Handler for manipulating per-user session state that can be represented as ASCII name/value pairs. |
ContentTemplate | Template class for extracting content out of remote html pages. |
CookieFilter |
The CookieFilter keeps a
record of all the browser cookies associated with a given session.
|
CookieSessionHandler | Handler for creating browser sessions using cookies. |
CopyContentFilter | Filter to save content (of an entire site) to a disk file. |
DateTemplate | Template for doing date and time calculations and formatting. |
DebugTemplate | Template class for printing stuff to stderr (for template debugging). |
DeCommentTemplate | Template class for removing comments from html pages. |
DefaultFileHandler | Handler for appending a url ending with '/' into the appropriate url based on a default file in the file system. |
DeferredHandler | Wrap another handler, deferring its initialization until request time. |
DelayHandler | Handler or template for adding a delay into a response. |
DialogHandler | Sample handler for popping up a dialog box on the server. |
DigestAuthHandler | Perform digest authentication. |
DigestTemplate | Compute the Base64 encoded SHA1 digest of a value (so I don't have to store plain text passwords). |
DirectoryHandler | This is a bare-bones handler for providing directory listings for web servers. |
DirectoryTemplate | Put current directory information (based on the URL) into the request properties. |
DynamicConfigHandler |
The DynamicConfigHandler allows the user to change the
configuration of the server and its handlers on the fly. |
ExecFilter | Filter to Run all content through an external process filter. |
ExecTemplate | template to exec a program, and return its arguments into request properties . |
ExpContentTemplate | Allow extracted content to be filtered through regular expressions. |
ExprProps |
ExprProps is a subclass of Properties that
is "smart" in the sense that it wraps a Calculator
object, passing get and getProperty keys to
the Calculator for processing.
|
ExprPropsHandler |
The ExprPropsHandler installs an expression evaluator as a
"smart properties" into the current request object, enabling arithmetic and
logical expression evaluation in property name lookups.
|
FetchTemplate | Template class for substituting html pages into an html page. |
FileHandler | Standard handler for fetching static files. |
Filter |
The Filter interface is used by the
FilterHandler
to examine and dynamically rewrite the contents of web pages obtained from
some source before returning that page to the client.
|
FilterHandler |
The FilterHandler captures the output of another
Handler and allows the ouput to
be modified. |
Format | Format a string by substituting values into it from a properties object. |
FormClientTemplate |
[Deprecated, use the FormTemplate and SetTemplate instead] SAMPLE Template class for substituting Default values into html forms The data is retrieved from the client, and sent back to the client later on. |
FormHelpTemplate | Template class for adding field help to the FormTemplate. |
FormTemplate | Template class for substituting default values into html forms. |
GenericProxyHandler | Handler for implementing a virtual web site. |
Glob | Glob-style string matching and substring extraction. |
Guid | Utility to generate GUID's (Globally Unique Identifiers). |
Handler | The interface for writing HTTP handlers. |
HighlightTemplate | Template class for highlighting text that matches a regular expression. |
HistoryFilter |
The HistoryFilter is both a Handler and a
Filter that keeps a record of all pages visited by a
given session.
|
HomeDirHandler | Handler for converting ~username queries. |
HtmlRewriter | This class helps with parsing and rewriting an HTML document. |
HttpInputStream | This class is an input stream that provides added methods that are of help when reading the result of an HTTP request. |
HttpRequest | Sends an HTTP request to some target host and gets the answer back. |
HttpSocket | This class is used as the bag of information kept about a open, idle socket. |
HttpSocketPool | This interface represents a cache of idle sockets. |
HttpUtil |
The HttpUtil class contains methods for performing simple
HTTP operations.
|
IdUniquificationTemplate | Template to assign div and span id's that are unique for each browser window. |
IncludeTemplate | Convert the html tag "include" in to text for an included html page. |
JunkBusterHandler | Remove junk images from web pages. |
LexHTML | This class breaks up HTML into tokens. |
LexML | This class breaks angle-bracket-separated markup languages like SGML, XML, and HTML into tokens. |
ListTemplate | Manage lists of strings in a (hopefully) useful way. |
ListTemplate.MyList | Implement a list of strings. |
LockTemplate | Template to lock a resource. |
LogHandler | Handler for logging information about requests. |
MacroTemplate | Template class for defining macros. |
Main | Sample main program for starting an http server. |
MapPage | Utility class to rewrite links inside of web pages so they appear to come from a different site. |
MatchString | Deprecated - do not use. |
MatchString | Utility class for handlers to determine, based on the URL, if the current request should be processed. |
MD5Filter | Filter to compute the MD5 checksum of the content, and generate the appropriate "Content-MD5" http header. |
MimeHeaders |
This class is build on top of the StringMap class and
provides added methods that are of help when manipulating MIME headers.
|
MiscTemplate | Template for misc string manipulation functions. |
MiscTemplate.GlobProperties | Special version of a properties that uses the sub expresions of the supplied glob pattern and name to define the keys 1-9. |
ModifiedTemplate |
Template class for computing last-modified times
for content that is processed through templates.
|
MultiHostHandler |
The MultiHostHandler allows the user to handle a set
of host names that are all running on the same IP address. |
MultipartSetTemplate | Version of the SetTemplate that reflects form/multipart data in Request.props. |
MultiProxyHandler | Handler for permitting multiple cross connected virtual web sites. |
NoImageTemplate | Sample template class for removing all images from a web page, and replacing them with their alt strings. |
NotFoundHandler | Handler for returning "file not found" errors back to the client. |
PJamaSessionManager | Use pJama to implement persistant sessions. |
PlainFilter | Filter to turn text/plain into html. |
PlainTemplate | Template to turn all markup between <plain> and </plain> into ordinary text, by escaping all HTML markup. |
PollHandler | Handler for periodically polling another web site, whose results are (optionally) added to the server's properties. |
PropertiesCacheManager | A version of the CacheManager that saves out any session state that is either a "java properties" object, or implements "Saveable" into a directory in the filesystem, one file per entry, then restores them on server startup. |
PropertiesCacheManager.Saveable | This interface allows for persistence of non-properties session objects. |
PropertiesHandler | Handler for returning selected request properties as a text/plain document in java properties format. |
PropertiesList |
A PropertiesList instance is intended to be an element of
a doubly linked list consisting of other PropertiesList
instances. |
PropsTemplate |
[Deprecated, use the the SetTemplate.] Template class for substituting request properties into an HTML page. |
ProxyHandler | Handler for implementing a web proxy. |
ProxyPropertiesHandler | Obtain properties format content from remote websites, and add it to the current request properties. |
PublishHandler | Handler for supporting publishing from Communicator. |
PushHandler | Skeleton Handler for uploading files using multipart/form-data. |
PushHandler.Split | Split multipart data into its constituent pieces. |
PutHandler | Simple PUT and DELETE method handler. |
QueueTemplate | Template class for Managing simple Queues, allowing text communication among sessions. |
QueueTemplate.Queue | Create an object queue. |
QueueTemplate.QueueItem | A bag of items to keep on the Q. |
RedirectTemplate |
[Deprecated, use the AddHeaderTemplate instead.] Template class for redirecting an html page This class is used by the TemplateHandler |
ReflectHandler | Handler for reflecting query data back to the client. |
ReFilter | Filter to replace text content via a reqular expression substitution. |
Regexp |
The Regexp class can be used to match a pattern against a
string and optionally replace the matched parts with new strings.
|
Regexp.Filter |
This interface is used by the Regexp class to generate
the replacement string for each pattern match found in the source
string.
|
Regsub |
The Regsub class provides an iterator-like object to
extract the matched and unmatched portions of a string with respect to
a given regular expression.
|
RemoteHostTemplate | Return the remote host name associated with this request. |
ReplaceFilter | Filter to replace current content with a static form, or template. |
RePollHandler | Do regsub processing on content to extract properties. |
RePollHandler.Extract | A "bag" to store regular expression extraction instructions |
Request | Represents an HTTP transaction. |
Request.HttpOutputStream |
The HttpOutputStream provides the convenience method
writeBytes for writing the byte representation of a
string, without bringing in the overhead and the deprecated warnings
associated with a java.io.DataOutputStream .
|
ResourceHandler | Handler for serving documents out of the jar file. |
ResourceLimitHandler | Handler for server resource management. |
RestartHandler | Restart the server when a sigHUP is received. |
RestartingMultiHostHandler | Allow the configuration for one virtual host to be restarted. |
RestrictClientHandler | Simple access control hander based on source ip addresses. |
RewriteContext | A variant containing instance variables that may be referenced by rewriting filters. |
RolesHandler | Handler for associating roles with an id. |
ScriptEvalTemplate | Template class for performing ${...} substitutions inside javascript and style tags. |
Server | Yet another HTTP/1.1 server. |
ServerProcess | This is a wrapper around the native code used by the Java Web Server to set the effective user and group id's on Solaris. |
SessionFilter | Filter to manage browser sessions using browser cookies or URL rewriting as needed. |
SessionManager |
The SessionManager associates an object with a Session ID
to give Handlers the ability to maintain state that lasts for the
duration of a session instead of just for the duration of a request.
|
SetTemplate | Template (and handler) class for setting and getting values to and from the current (or other) request context. |
SimpleSessionHandler | Handler for creating browser sessions based on information found in the http request. |
SMTPHandler | Handler (or template) for Sending an email message via SMTP. |
SnarfTemplate | Template class for extracting content out of <snarf property=xxx> ... |
SocketFactory | This interface is used as a heap to control the allocation of sockets. |
Sort | Placeholder for useful sorting utilities. |
Sort.Compare |
This interface is used by the Sort class to compare
elements when an array is being sorted.
|
SourceTemplate | Template class for incorporating the content of a local file into the current document. |
StringMap |
The StringMap class is a substitute for the Hashtable.
|
StunnelHandler | Handler to enable proper interaction with a protocol conversion gateway, by rewriting "redirect" directives properly. |
SubstAllTemplate | Template to substitute ${...} for the value of name/value attribute pairs of all html tags that aren't otherwise accounted for by other templates. |
SubstPropsHandler | Handler that performs value conversions on ${...} substitutions. |
SubstPropsHandler.Convert | Class that maps strings to strings. |
SubstPropsHandler.Html | HTML escape a value. |
SubstPropsHandler.LowerCase | Convert a value to lowercase. |
SubstPropsHandler.Resub | Do a regexp substitution on a value. |
SubstPropsHandler.SubstProps | This class implements a properties object that knows how to extract the "name" and "filter" from a properly constructed name, and to invoke the filter on the value of the encoded name. |
SubstPropsHandler.Url | URL encode a String. |
SunNetAuthHandler | All-in-one Handler for doing supplier.net style authentication. |
SunProxy | Sun Specific implementation of a SocketFactory and proxy-decider that work together to decipher the specifics of the Sun Internet setup. |
SupplyHandler | Sample Handler for dispatching different users to different url's based on a special http authentication header. |
Template | Parent for all classes that are templates. |
TemplateFilter |
The TemplateFilter sends HTML content through an
Html/XML parser to a set of Template s. |
TemplateHandler |
The TemplateHandler reads a template file from
the document root, based on the URL, and passes the content through
one or more template filters.
|
TemplateInterface | Interface for templates. |
TemplateRunner | Class for processing html templates. |
TemplateTemplate | Template class for processing markup through a sequence of template filters. |
TestRequest | Version of Request for testing purposes. |
TitleTemplate | Template to look up "title" attributes in a database, and rewrite them. |
TOCTemplate | Template class for extracting table of contents information out of an html page by examining the "H1" tags, and setting request properties that can be used to build a table of contents. |
UrlMapFilter | Filter to Map url's from any proxied content. |
UrlMapperHandler | Handler for mapping URL's or HTTP headers, or redirecting URLs based on the contents of the current HTTP request. |
UrlMapperHandler.MapProperties | Look in a dictionary first, then the provided properties. |
UrlNavBarTemplate | Template class for dynamically generating a navigation bar by looking at portions of the url. |
UrlSessionFilter | Sample filter to use url's instead of cookies for sessions. |
UseProxy | This interface is used by the ProxyHandler class to decide whether to issue an HTTP request directly to the specified host, or to issue the request via an HTTP proxy. |
ValidateTemplate |
The ValidateTemplate is designed to validate
HTML forms. |
ValidateTemplate.GlobFormat | Special version of a format that uses uses the previously defined GlobProperties. |
ValidateTemplate.GlobProperties | Special version of a properties that uses the sub expresions of the supplied glob pattern and type to define the keys 1-9. |
VirtualHostHandler | Handler for managing virtual hosts using the same server configuration. |
XmlTree | Create a tree representation of an xml file whose parts may be referenced as a dictionary. |
XmlTreeTemplate | Manage a tree representation of an XML document. |
XmlTree.DefaultNodeName | The node is named by the specified attribute. |
XmlTree.IllegalXmlException | Do some more reasonable error handling. |
XmlTree.Node | This describes a node of the XML tree |
XmlTree.NodeName | |
XmlTree.XmlErrorInfo |