public class ImageCreatorToadlet extends Toadlet
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_HEIGHT
The default height
|
static int |
DEFAULT_WIDTH
The default width
|
static java.sql.Date |
LAST_MODIFIED
The last modification time of the class, it is required for the
client-side cache.
|
HANDLE_METHOD_PREFIX
Modifier | Constructor and Description |
---|---|
protected |
ImageCreatorToadlet(HighLevelSimpleClient client) |
Modifier and Type | Method and Description |
---|---|
void |
handleMethodGET(java.net.URI uri,
HTTPRequest req,
ToadletContext ctx)
Handle a GET request.
|
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, writeTextReply
public static final int DEFAULT_WIDTH
public static final int DEFAULT_HEIGHT
public static final java.sql.Date LAST_MODIFIED
protected ImageCreatorToadlet(HighLevelSimpleClient client)
public void handleMethodGET(java.net.URI uri, HTTPRequest req, ToadletContext ctx) throws ToadletContextClosedException, java.io.IOException, RedirectException
Toadlet
handleMethodGET
in class Toadlet
uri
- 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.ToadletContextClosedException
java.io.IOException
RedirectException