public class SymlinkerToadlet extends Toadlet
RedirectException
.HANDLE_METHOD_PREFIX
Constructor and Description |
---|
SymlinkerToadlet(HighLevelSimpleClient client,
Node node) |
Modifier and Type | Method and Description |
---|---|
boolean |
addLink(java.lang.String alias,
java.lang.String target,
boolean store) |
void |
handleMethodGET(java.net.URI uri,
HTTPRequest request,
ToadletContext ctx)
Handle a GET request.
|
java.lang.String |
path() |
boolean |
removeLink(java.lang.String alias,
boolean store) |
addHomepageLink, allowPOSTWithoutPassword, findSupportedMethods, getClientImpl, sendErrorPage, sendErrorPage, sendErrorPage, showAsToadlet, showAsToadlet, writeHTMLReply, writeHTMLReply, writeHTMLReply, writeInternalError, writeReply, writeReply, writeReply, writeReply, writeReply, writeReply, writeTemporaryRedirect, writeTextReply, writeTextReply
public SymlinkerToadlet(HighLevelSimpleClient client, Node node)
public boolean addLink(java.lang.String alias, java.lang.String target, boolean store)
public boolean removeLink(java.lang.String alias, boolean store)
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