|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthings.thinger.service.httptool.Action
public abstract class Action
A base action.
Version History
EPG - Initial - 17 NOV 07
Field Summary | |
---|---|
ThingsPropertyView |
parameters
This is what was passed in the command. |
SystemInterface |
si
Working variables. |
ThingsPropertyView |
tags
This is what will finally be merged to the result page. |
Constructor Summary | |
---|---|
Action()
|
Method Summary | |
---|---|
static void |
ERROR(java.lang.String description,
java.lang.String message)
Call this if you get an error and just give up. |
ActionResult |
execute(ThingsPropertyView parameters,
ThingsPropertyView tags,
SystemInterface si)
Call this, not process. |
Head |
head(ThingsPropertyView parameters,
ThingsPropertyView tags,
SystemInterface si)
Overload this if you want to manage HEAD processing on your own. |
protected abstract ActionResult |
process()
The implementation. |
static void |
PUNT(java.lang.String message)
Call this if you want to punt. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public SystemInterface si
public ThingsPropertyView tags
public ThingsPropertyView parameters
Constructor Detail |
---|
public Action()
Method Detail |
---|
protected abstract ActionResult process() throws java.lang.Throwable
java.lang.Throwable
public Head head(ThingsPropertyView parameters, ThingsPropertyView tags, SystemInterface si) throws java.lang.Throwable
parameters
- This is what comes from the commands.tags
- This is what will be merged to the result page.si
- The system interface.
java.lang.Throwable
public ActionResult execute(ThingsPropertyView parameters, ThingsPropertyView tags, SystemInterface si) throws java.lang.Throwable
parameters
- This is what comes from the commands.tags
- This is what will be merged to the result page.si
- The system interface.
java.lang.Throwable
public static void ERROR(java.lang.String description, java.lang.String message) throws ActionException
message
- the full message.description
- the short description.
ActionException
- which will be trapped and processed by the service.public static void PUNT(java.lang.String message) throws PuntException
message
- the full message.
ActionException
- which will be trapped and processed by the service.
PuntException
PuntException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |