public abstract class TrapAction extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
TrapAction() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected static final org.slf4j.Logger log
public TrapAction()
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.Copyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.