public class FirstTimeWizardToadlet extends Toadlet
Modifier and Type | Class and Description |
---|---|
static class |
FirstTimeWizardToadlet.WIZARD_PRESET |
static class |
FirstTimeWizardToadlet.WIZARD_STEP |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TOADLET_URL |
HANDLE_METHOD_PREFIX
Modifier and Type | Method and Description |
---|---|
static FirstTimeWizardToadlet.WIZARD_STEP |
getPreviousStep(FirstTimeWizardToadlet.WIZARD_STEP currentStep,
FirstTimeWizardToadlet.WIZARD_PRESET preset) |
void |
handleMethodGET(java.net.URI uri,
HTTPRequest request,
ToadletContext ctx)
Handle a GET request.
|
void |
handleMethodPOST(java.net.URI uri,
HTTPRequest request,
ToadletContext ctx) |
java.lang.String |
path() |
static boolean |
shouldLogMinor() |
addHomepageLink, allowPOSTWithoutPassword, findSupportedMethods, getClientImpl, sendErrorPage, sendErrorPage, sendErrorPage, showAsToadlet, showAsToadlet, writeHTMLReply, writeHTMLReply, writeHTMLReply, writeInternalError, writeReply, writeReply, writeReply, writeReply, writeReply, writeReply, writeTemporaryRedirect, writeTextReply, writeTextReply
public static final java.lang.String TOADLET_URL
public void handleMethodGET(java.net.URI uri, HTTPRequest request, ToadletContext ctx) throws ToadletContextClosedException, java.io.IOException
Toadlet
handleMethodGET
in class Toadlet
uri
- The URI being fetched.request
- 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.ToadletContextClosedException
java.io.IOException
public static boolean shouldLogMinor()
public void handleMethodPOST(java.net.URI uri, HTTPRequest request, ToadletContext ctx) throws ToadletContextClosedException, java.io.IOException
ToadletContextClosedException
java.io.IOException
public static FirstTimeWizardToadlet.WIZARD_STEP getPreviousStep(FirstTimeWizardToadlet.WIZARD_STEP currentStep, FirstTimeWizardToadlet.WIZARD_PRESET preset)