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
IPage
doGet
in interface IPage
UnsupportedEncodingException
IOException
public abstract void doPost(StatusWebHandler webHandler, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
IPage
public String getName()
IPage
protected String getPage(StatusWebHandler webHandler, Map<String,String> valueMap) throws UnsupportedEncodingException, IOException
protected void setup(javax.servlet.http.HttpServletResponse resp, String type) throws IOException
IOException
Copyright © 2010–2016. All rights reserved.