|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--HttpServlet
|
+--org.metasyntactic.tool.explorer.Explorer
| Field Summary |
| Fields inherited from interface org.metasyntactic.net.web.html.Constants |
DOCTYPE_HTML_2_0, DOCTYPE_HTML_3_2, DOCTYPE_HTML_4_0_FRAMESET, DOCTYPE_HTML_4_0_LOOSE, DOCTYPE_HTML_4_0_STRICT |
| Constructor Summary | |
Explorer()
|
|
| Method Summary | |
void |
destroy()
Destroys the servlet. |
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Handles the HTTP GET method. |
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response)
Handles the HTTP POST method. |
protected java.lang.String |
escapedString(java.lang.Object o)
|
java.lang.String |
getServletInfo()
Returns a short description of the servlet. |
void |
init(ServletConfig config)
Initializes the servlet. |
static void |
main(java.lang.String[] args)
|
protected void |
processRequest(HttpServletRequest request,
HttpServletResponse response)
Processes requests for both HTTP GET and POST methods. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Explorer()
| Method Detail |
public void init(ServletConfig config)
throws ServletException
ServletException
protected void processRequest(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
GET and POST methods.
request - servlet requestresponse - servlet response
ServletException
java.io.IOExceptionpublic void destroy()
public static void main(java.lang.String[] args)
protected java.lang.String escapedString(java.lang.Object o)
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
GET method.
request - servlet requestresponse - servlet response
ServletException
java.io.IOException
protected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
POST method.
request - servlet requestresponse - servlet response
ServletException
java.io.IOExceptionpublic java.lang.String getServletInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||