|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.pbemengine.engine.ng.base.webserver.Action
public abstract class Action
HTML webpage interface, represents a web page in abstract sense - any dynamic content for a webpage is generated by the implementing class, based on the GET or POST variables.
| Constructor Summary | |
|---|---|
Action()
|
|
| Method Summary | |
|---|---|
ActionCallback |
getCallback()
Get the action callback for this action |
PageContext |
getContext()
Get this actions PageContext |
java.util.Map<java.lang.String,java.lang.String> |
getNewCookies()
Return a mapping of new cookies (if any cookie already exists, it will be overriden) |
java.util.Map |
getReturnData()
Data passed to the template, or any chained actions. |
abstract java.lang.String |
processRequest()
Processes a HTTP request with the specified context |
void |
setCallback(ActionCallback callback)
Sets the callback object for this action |
void |
setContext(PageContext context)
Set this actions PageContext |
protected void |
setNewCookie(java.lang.String key,
java.lang.String value)
Adds a new cookie to the list of new cookies |
protected void |
setValue(java.lang.String key,
java.lang.Object value)
Adds a new value to the return data of this action |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Action()
| Method Detail |
|---|
public ActionCallback getCallback()
public void setCallback(ActionCallback callback)
callback - The callback objectpublic java.util.Map getReturnData()
public java.util.Map<java.lang.String,java.lang.String> getNewCookies()
public PageContext getContext()
public void setContext(PageContext context)
context - This actions new context
protected void setNewCookie(java.lang.String key,
java.lang.String value)
key - The name of the cookievalue - The value of the cookie
protected void setValue(java.lang.String key,
java.lang.Object value)
key - The name of the data itemvalue - The data itempublic abstract java.lang.String processRequest()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||