|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
edu.pdx.cs399J.servlets.MovieDatabaseServlet
public class MovieDatabaseServlet
A servlet that provides REST access to a movie database
| Constructor Summary | |
|---|---|
MovieDatabaseServlet()
|
|
| Method Summary | |
|---|---|
protected void |
doDelete(HttpServletRequest request,
HttpServletResponse response)
Removes information from the database |
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Searches for information in the database |
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response)
Creates information in the database |
protected void |
doPut(HttpServletRequest request,
HttpServletResponse response)
Updates information in the database |
void |
init()
|
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doHead, doOptions, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MovieDatabaseServlet()
| Method Detail |
|---|
public void init()
throws ServletException
init in class GenericServletServletException
protected void doPut(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
doPut in class HttpServletrequest - The request from the client. Note that unlike POST, data
arrives in the body (conent) of the request. {#link getParameter} returns
null
ServletException
IOException
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
doGet in class HttpServletServletException
IOException
protected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
doPost in class HttpServletServletException
IOException
protected void doDelete(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
doDelete in class HttpServletServletException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||