handleMethodGET
public void handleMethodGET(java.net.URI uri,
HTTPRequest req,
ToadletContext ctx)
throws ToadletContextClosedException,
java.io.IOException,
RedirectException
Description copied from class: Toadlet
Handle a GET request.
Other methods are accessed via handleMethodPOST etc, invoked via reflection. But all toadlets
are expected to support GET.
- Specified by:
handleMethodGET
in class Toadlet
- Parameters:
uri
- The URI being fetched.
req
- The original HTTPRequest, convenient for e.g. fetching ?blah=blah parameters.
ctx
- The request context. Mainly used for sending a reply; this identifies which
request we are replying to. Also gives access to lots of important objects e.g. PageMaker.
- Throws:
ToadletContextClosedException
java.io.IOException
RedirectException