public class FileInsertWizardToadlet extends Toadlet implements LinkEnabledCallback
HANDLE_METHOD_PREFIX
Modifier | Constructor and Description |
---|---|
protected |
FileInsertWizardToadlet(HighLevelSimpleClient client,
NodeClientCore clientCore) |
Modifier and Type | Method and Description |
---|---|
void |
handleMethodGET(java.net.URI uri,
HTTPRequest request,
ToadletContext ctx)
Handle a GET request.
|
boolean |
isEnabled(ToadletContext ctx)
Whether to show the link?
|
java.lang.String |
path() |
void |
reportCanonicalInsert() |
void |
reportRandomInsert() |
addHomepageLink, allowPOSTWithoutPassword, findSupportedMethods, getClientImpl, sendErrorPage, sendErrorPage, sendErrorPage, showAsToadlet, showAsToadlet, writeHTMLReply, writeHTMLReply, writeHTMLReply, writeInternalError, writeReply, writeReply, writeReply, writeReply, writeReply, writeReply, writeTemporaryRedirect, writeTextReply, writeTextReply
protected FileInsertWizardToadlet(HighLevelSimpleClient client, NodeClientCore clientCore)
public void reportCanonicalInsert()
public void reportRandomInsert()
public void handleMethodGET(java.net.URI uri, HTTPRequest request, ToadletContext ctx) throws ToadletContextClosedException, java.io.IOException, RedirectException
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
RedirectException
public boolean isEnabled(ToadletContext ctx)
LinkEnabledCallback
isEnabled
in interface LinkEnabledCallback
ctx
- The request which is asking. Can be null.