public abstract class AbstractPage extends Object implements IPage
| Constructor and Description |
|---|
AbstractPage() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
doGet(StatusWebHandler webHandler,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Process GET requests.
|
abstract void |
doPost(StatusWebHandler webHandler,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Process POST requests.
|
String |
getId()
Id of this page.
|
String |
getName()
Returns page name, used in url to trigger page rendering.
|
protected String |
getPage(StatusWebHandler webHandler,
Map<String,String> valueMap) |
protected void |
setup(javax.servlet.http.HttpServletResponse resp,
String type) |
public abstract void doGet(StatusWebHandler webHandler, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws UnsupportedEncodingException, IOException
IPagedoGet in interface IPageUnsupportedEncodingExceptionIOExceptionpublic abstract void doPost(StatusWebHandler webHandler, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
IPagepublic String getName()
IPageprotected String getPage(StatusWebHandler webHandler, Map<String,String> valueMap) throws UnsupportedEncodingException, IOException
protected void setup(javax.servlet.http.HttpServletResponse resp,
String type)
throws IOException
IOExceptionCopyright © 2010–2016. All rights reserved.