org.mortbay.jetty.plus.annotation
Class PojoServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mortbay.jetty.plus.annotation.PojoServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig, PojoWrapper
public class PojoServlet
- extends HttpServlet
- implements PojoWrapper
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PojoServlet
public PojoServlet(Object pojo)
getPojo
public Object getPojo()
- Specified by:
getPojo
in interface PojoWrapper
setDeleteMethodName
public void setDeleteMethodName(String name)
getDeleteMethodName
public String getDeleteMethodName()
setPutMethodName
public void setPutMethodName(String name)
getPutMethodName
public String getPutMethodName()
setHeadMethodName
public void setHeadMethodName(String name)
getHeadMethodName
public String getHeadMethodName()
setPostMethodName
public void setPostMethodName(String name)
getPostMethodName
public String getPostMethodName()
setGetMethodName
public void setGetMethodName(String name)
getGetMethodName
public String getGetMethodName()
init
public void init()
throws ServletException
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
doDelete
protected void doDelete(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- Overrides:
doDelete
in class HttpServlet
- Throws:
ServletException
IOException
doGet
protected void doGet(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- Overrides:
doGet
in class HttpServlet
- Throws:
ServletException
IOException
doHead
protected void doHead(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- Overrides:
doHead
in class HttpServlet
- Throws:
ServletException
IOException
doPost
protected void doPost(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- Overrides:
doPost
in class HttpServlet
- Throws:
ServletException
IOException
doPut
protected void doPut(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- Overrides:
doPut
in class HttpServlet
- Throws:
ServletException
IOException
Copyright © 1995-2008 Mort Bay Consulting. All Rights Reserved.