org.lobobrowser.clientlet
Interface Clientlet


public interface Clientlet

A clientlet processes a URL response and creates content renderable by a user agent.

See Also:
ClientletSelector.select(ClientletRequest, ClientletResponse)

Method Summary
 void process(ClientletContext context)
          This method is invoked by a clientlet engine to process a URL response.
 

Method Detail

process

void process(ClientletContext context)
             throws ClientletException
This method is invoked by a clientlet engine to process a URL response. After the response is processed, the clientlet should either set displayable content via ClientletContext.setResultingContent(ComponentContent) or redirect navigation elsewhere.

Parameters:
context - An instance of ClientletContext which represents the current request context.
Throws:
ClientletException - This may be thrown by a clientlet when there are document errors.


SourceForge.net LogoCopyright © 2005, 2006, 2007 The Lobo Project. All Rights Reserved.
[Lobo Home]