![]() |
morphis | wax |
![]() |
|
Processing: RequestingBefore 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. ![]() |
|
![]() |