Class TrapCreateOrUpdateAction
- java.lang.Object
-
- dk.netarkivet.harvester.webinterface.TrapAction
-
- dk.netarkivet.harvester.webinterface.TrapCreateOrUpdateAction
-
public class TrapCreateOrUpdateAction extends TrapAction
This action processes multipart uploads to either create or update a global crawler trap list. The choice of which action to carry out is determined by whether the TRAP_ID is specified in the request.
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
log
The logger for this class.
-
Constructor Summary
Constructors Constructor Description TrapCreateOrUpdateAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doAction(javax.servlet.jsp.PageContext context, I18n i18n)
Method implementing the specific action to take.-
Methods inherited from class dk.netarkivet.harvester.webinterface.TrapAction
processRequest
-
-
-
-
Field Detail
-
log
protected static final org.slf4j.Logger log
The logger for this class.
-
-
Constructor Detail
-
TrapCreateOrUpdateAction
public TrapCreateOrUpdateAction()
-
-
Method Detail
-
doAction
protected void doAction(javax.servlet.jsp.PageContext context, I18n i18n)
Description copied from class:TrapAction
Method implementing the specific action to take.- Specified by:
doAction
in classTrapAction
- Parameters:
context
- the context of the servlet request triggering this action.i18n
- the internationalisation to use for presenting the results.
-
-