Serializable, javax.servlet.Servlet, javax.servlet.ServletConfigStaticContentServletpublic abstract class HttpServlet
extends javax.servlet.http.HttpServlet
HttpServlet has an auto-init system, that automatically invokes
the method matching the signature void setX(<Type>),
for every init-parameter x. 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.| Constructor | Description |
|---|---|
HttpServlet() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
init(javax.servlet.ServletConfig pConfig) |
Called by the web container to indicate to a servlet that it is being
placed into service.
|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic void init(javax.servlet.ServletConfig pConfig)
throws javax.servlet.ServletException
ServletConfig object it
receives from the servlet container for later use. When overriding this
form of the method, call super.init(config).
This implementation will also set all configured key/value pairs, that
have a matching setter method annotated with InitParam.init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletpConfig - the servlet configjavax.servlet.ServletException - if an error occurred during initGenericServlet.init(javax.servlet.ServletConfig),
init,
BeanUtil.configure(Object, java.util.Map, boolean)Copyright © 2018. All rights reserved.