sunlabs.brazil.handler
public class ReflectHandler extends Object implements Handler
Version: 2.1, 02/10/01
Method Summary | |
---|---|
static String | formatTable(Dictionary data, String caption)
Turn a hash table into html format. |
boolean | init(Server server, String prefix)
Initialize the handler.
|
boolean | respond(Request request)
Dispatch and handle the request.
|
Parameters: table The table to format
Returns: The html fragment
Parameters: server A reference to the server. prefix A string identifying this instance of the handler. It is used by the {@link sunlabs.brazil.server.ChainHandler} to provide the prefix to be prepended onto each property intended for this handler.
Returns: true Only if the handler is successfully initialized.
Parameters: request The request object contains all of the information about the request, as well as methods to manipulate it. Although multiple threads may call this method connurrently, each will have its own request object.