Package net.oneandone.hellowar
Class HelloWar
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- net.oneandone.hellowar.HelloWar
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class HelloWar extends javax.servlet.http.HttpServlet- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HelloWar()
-
Method Summary
Modifier and Type Method Description protected voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)protected voidpage(String title, Writer writer, String... entries)protected voidpage(String title, Writer writer, Map<String,String> map)protected Map<String,String>sort(Map<String,String> map)-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException- Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
IOExceptionjavax.servlet.ServletException
-
page
protected void page(String title, Writer writer, String... entries) throws IOException
- Throws:
IOException
-
page
protected void page(String title, Writer writer, Map<String,String> map) throws IOException
- Throws:
IOException
-
sort
protected Map<String,String> sort(Map<String,String> map) throws IOException
- Throws:
IOException
-
-