Package ccs.http

Utility methods for HTTP servers.

See:
          Description

Interface Summary
ExceptionHelper A helper interface which facilitates a unified exception-handling framework for all Jetty-using HTTP servers.
PanelKillable The interface implemented by any app which can be shut down by the ControlPanel.
 

Class Summary
AbstractXhtmlHandler Infrastructure to handle XHTML correctly.
BrowserExecutable Deprecated. No longer used, but still present in legacy conf.cdbs.
BrowserSetter Provides a GUI interface to allow the user to set the browser to use.
ContentConnection Deprecated. This seems to be disused.
ControlPanel One problem with browser-fronted systems is that all too frequently, the user inadvertently closes the browser window, leaving the application in a "zombie" state where it is still loaded, using resources, and active, but there is no way to communicate with it.
ExceptionHandler Handles exceptions thrown during the course of processing the request.
HDate Dates in the HTTP format.
HProgressMonitor Web-apps sometimes have to do long-winded, non-interactive crunching operations.
HUtil Utilities for webapps (HTML as much as HTTP).
ThrowingHandler A superclass for HttpHandlers which, in conjunction with ExceptionHandler, provides an communal exception-handling framework for Jetty-based HTTP servers.
URLCoding Static members of this class allow an arbitrary terminal URL fragment (ie. a complete URL, less the protocol section and some arbitrary path prefix) to be encoded as a terminal filepath fragment (ie. a filepath less some arbitrary path prefix), and vice-versa.
XenophobicSocketListener A SocketListener which only accepts local connections.
 

Enum Summary
AbstractXhtmlHandler.XHMode  
 

Exception Summary
HException An Exception related to the HTTP protocol, which will be returned to the client via HTTP's response mechanism.
RedirectException An exception which causes the HTTPAdaptor to send a redirect message back to the browser.
 

Package ccs.http Description

Utility methods for HTTP servers. Primarily these are, or will be, based on Jetty; however, we wish to avoid breaking the legacy HTTPAdaptor (ccs.http.server.*) until we've migrated everything off it.

Key classes: ControlPanel, HUtil