|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.harvester.webinterface.TrapAction
public abstract class TrapAction
Abstract class representing an action to take on the collection of global crawler traps.
Constructor Summary | |
---|---|
TrapAction()
|
Method Summary | |
---|---|
protected abstract void |
doAction(javax.servlet.jsp.PageContext context,
I18n i18n)
Method implementing the specific action to take |
static void |
processRequest(javax.servlet.jsp.PageContext context,
I18n i18n)
This method processes the request to determine which action it corresponds to and passes the request along accordingly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TrapAction()
Method Detail |
---|
public static void processRequest(javax.servlet.jsp.PageContext context, I18n i18n) throws ForwardedToErrorPage
context
- the original servlet context of the request.i18n
- the internationalisation to be used.
ForwardedToErrorPage
- if an exception is thrown while carrying
out the action.protected abstract void doAction(javax.servlet.jsp.PageContext context, I18n i18n)
context
- the context of the servlet request triggering this action.i18n
- the internationalisation to use for presenting the results.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |