public class Page extends AbstractAction
| Constructor and Description |
|---|
Page() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Returns the content type.
|
void |
render(ActionContext ac,
boolean nested)
Processes the action and renders the output to
ActionContext.getOut(). |
void |
setContentType(String ctype)
Sets the content type.
|
void |
setOptionalContentType(String ctype)
Sets the optional content type.
|
String |
toString() |
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScopepublic String getContentType()
public void setContentType(String ctype)
public void setOptionalContentType(String ctype)
public void render(ActionContext ac, boolean nested) throws DspException, IOException
ActionActionContext.getOut().nested - whether there is any nested content.DspExceptionIOExceptionCopyright © 2016. All rights reserved.