Package com.twelvemonkeys.servlet
Class HttpServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.twelvemonkeys.servlet.HttpServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
@Deprecated public abstract class HttpServlet extends javax.servlet.http.HttpServlet
Deprecated.Defines a generic, HTTP specific servlet.HttpServlet
has an auto-init system, that automatically invokes the method matching the signaturevoid setX(<Type>)
, for every init-parameterx
. Both camelCase and lisp-style parameter naming is supported, lisp-style names will be converted to camelCase. Parameter values are automatically converted from string representation to most basic types, if necessary.- Version:
- $Id: HttpServlet.java#1 $
- Author:
- Harald Kuhr, last modified by $Author: haku $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpServlet()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
init(javax.servlet.ServletConfig pConfig)
Deprecated.Called by the web container to indicate to a servlet that it is being placed into service.-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig pConfig) throws javax.servlet.ServletException
Deprecated.Called by the web container to indicate to a servlet that it is being placed into service.This implementation stores the
ServletConfig
object it receives from the servlet container for later use. When overriding this form of the method, callsuper.init(config)
.This implementation will also set all configured key/value pairs, that have a matching setter method annotated with
InitParam
.- Specified by:
init
in interfacejavax.servlet.Servlet
- Overrides:
init
in classjavax.servlet.GenericServlet
- Parameters:
pConfig
- the servlet config- Throws:
javax.servlet.ServletException
- if an error occurred during init- See Also:
GenericServlet.init(javax.servlet.ServletConfig)
,init
,BeanUtil.configure(Object, java.util.Map, boolean)
-
-