morphis logo morphis | wax   
morphis manual
manual
 

Processing
   Dispatching
   Requesting
   Translating

Installation
   Requirements
   Instructions
   Config Properties

Dispatching
   Configuration
   Pre/Post Filters

Requestors
   URL Requesting
   Servlet Chaining
   Run-time Instructs
   Custom Requestors

Translators
   Non-Translator
   Custom Translators

SAX Translators
   XSLT Translation
   Custom SAX Filters

Processing: Requesting

Before translation can occur, there obviously needs to be something to be translated. A requestor is simply an object that is able to obtain a stream of data. A context has one requestor. The built-in Morphis requestors are able to obtain data from the network (Requesting via HTTP) or from another Java Servlet (Requesting via Servlet chaining).

The requestor is able to change the context attributes. For example, the network requestor will examine the HTTP headers of the incoming stream looking for special processing instructions. Alternatively, these processing instructions may be in the body of the stream itself.

Requestors have the option of caching data it retrieves to improve processing performance. Custom built requestors can also be built to obtain data from anywhere.

morphis SourceForge Logo