Sun and Oracle Community Voices How to Buy Log In United States [Change] English

»  Spotlight Articles
»  Projects
»  Publications
»  People
»  Awards
»  Events
»  Downloads
»  Internships
»  Contrarian Minds
»  About Sun Labs
Brazil project: Package sunlabs.brazil.handler

Package sunlabs.brazil.handler

This package contains a collection classes that implement the Handler interface for use with the Server package, along with several support classes.

See:           Description

Class Summary
AclSwitchHandler Simple access control hander based on url prefixes.
BasicAuthHandler The BasicAuthHandler obtains a Session ID by performing "basic" authentication, using either the "Authorization" or the "Proxy-Authorization" headers.
CgiHandler Handler for implementing cgi/1.1 interface.
ChainSawHandler Variant of the chain handler for doing standard logging.
ConfigFileHandler Handler for manipulating per-user session state that can be represented as ASCII name/value pairs.
CookieSessionHandler Handler for creating browser sessions using cookies.
DeferredHandler Wrap another handler, deferring its initialization until request time.
DialogHandler Sample handler for popping up a dialog box on the server.
DirectoryHandler Handler for directory lists.
DynamicConfigHandler The DynamicConfigHandler allows the user to change the configuration of the server and its handlers on the fly.
GenericProxyHandler Handler for implementing a virtual web site.
HomeDirHandler Handler for converting ~username queries.
HtmlRewriter This class helps with parsing and rewriting an HTML document.
MapPage Utility class to rewrite links inside of web pages so they appear to come from a different site.
MultiProxyHandler Handler for permitting multiple cross connected virtual web sites.
NotFoundHandler Handler for returning "file not found" errors back to the client.
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.
ReflectHandler Handler for reflecting query data back to the client.
ResourceHandler Handler for serving documents out of the jar file.
RolesHandler Handler for associating roles with an id.
SMTPHandler Handler for Sending an email message via SMTP The following server properties are used: prefix url prefix host The mail host (e.g.
UrlMapperHandler Handler for mapping or redirecting url's Matches url's against a regexp pattern.
VirtualHostHandler Handler for managing virtual hosts.
 

Package sunlabs.brazil.handler Description

This package contains a collection classes that implement the Handler interface for use with the Server package, along with several support classes.

Just about the only thing they have in common is their lack of dependencies on any other packages. Some provide generic capabilities, such as standard CGI interfaces or template processing, others are either special purpose, provided to demonstrate how to write handlers, and others are skeleton handlers, designed to be finished to provide application specific functionality.

You can find a brief summary of many of the handlers here.


Version 2.2, Generated 07/25/00
Copyright (c) 2000, Sun Microsystems.