public class WelcomeToadlet extends Toadlet
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BOOKMARKS_ANCHOR
Suffix
path() with "#" + BOOKMARKS_ANCHOR to deep link to the bookmark list |
static java.lang.String |
PATH |
HANDLE_METHOD_PREFIX| Modifier and Type | Method and Description |
|---|---|
void |
addSearchBox(HTMLNode contentNode) |
boolean |
allowPOSTWithoutPassword()
Override to return true if the toadlet should handle POSTs that don't have the correct form
password.
|
void |
handleMethodGET(java.net.URI uri,
HTTPRequest request,
ToadletContext ctx)
Handle a GET request.
|
void |
handleMethodPOST(java.net.URI uri,
HTTPRequest request,
ToadletContext ctx) |
static void |
maybeDisplayWrapperLogfile(ToadletContext ctx,
HTMLNode contentNode) |
java.lang.String |
path() |
boolean |
showSearchBox() |
boolean |
showSearchBoxLoading() |
addHomepageLink, findSupportedMethods, getClientImpl, sendErrorPage, sendErrorPage, sendErrorPage, showAsToadlet, showAsToadlet, writeHTMLReply, writeHTMLReply, writeHTMLReply, writeInternalError, writeReply, writeReply, writeReply, writeReply, writeReply, writeReply, writeTemporaryRedirect, writeTextReply, writeTextReplypublic static final java.lang.String BOOKMARKS_ANCHOR
path() with "#" + BOOKMARKS_ANCHOR to deep link to the bookmark listpublic static final java.lang.String PATH
public boolean allowPOSTWithoutPassword()
ToadletallowPOSTWithoutPassword in class Toadletpublic boolean showSearchBox()
public boolean showSearchBoxLoading()
public void addSearchBox(HTMLNode contentNode)
public void handleMethodPOST(java.net.URI uri,
HTTPRequest request,
ToadletContext ctx)
throws ToadletContextClosedException,
java.io.IOException
ToadletContextClosedExceptionjava.io.IOExceptionpublic void handleMethodGET(java.net.URI uri,
HTTPRequest request,
ToadletContext ctx)
throws ToadletContextClosedException,
java.io.IOException
ToadlethandleMethodGET in class Toadleturi - 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.ToadletContextClosedExceptionjava.io.IOExceptionpublic static void maybeDisplayWrapperLogfile(ToadletContext ctx, HTMLNode contentNode)