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