org.eclipse.jetty.servlet
类 JspPropertyGroupServlet

java.lang.Object
  继承者 javax.servlet.GenericServlet
      继承者 org.eclipse.jetty.servlet.JspPropertyGroupServlet
所有已实现的接口:
Serializable, Servlet, ServletConfig

public class JspPropertyGroupServlet
extends GenericServlet

Servlet handling JSP Property Group mappings

This servlet is mapped to by any URL pattern for a JSP property group. Resources handled by this servlet that are not directories will be passed directly to the JSP servlet. Resources that are directories will be passed directly to the default servlet.

另请参见:
序列化表格

字段摘要
static String NAME
           
 
构造方法摘要
JspPropertyGroupServlet(ContextHandler context, ServletHandler servletHandler)
           
 
方法摘要
 void init()
          A convenience method which can be overridden so that there's no need to call super.init(config).
 void service(ServletRequest req, ServletResponse res)
          Called by the servlet container to allow the servlet to respond to a request.
 
从类 javax.servlet.GenericServlet 继承的方法
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

NAME

public static final String NAME
另请参见:
常量字段值
构造方法详细信息

JspPropertyGroupServlet

public JspPropertyGroupServlet(ContextHandler context,
                               ServletHandler servletHandler)
方法详细信息

init

public void init()
          throws ServletException
从类 GenericServlet 复制的描述
A convenience method which can be overridden so that there's no need to call super.init(config).

Instead of overriding GenericServlet.init(ServletConfig), simply override this method and it will be called by GenericServlet.init(ServletConfig config). The ServletConfig object can still be retrieved via GenericServlet.getServletConfig().

覆盖:
GenericServlet 中的 init
抛出:
ServletException - if an exception occurs that interrupts the servlet's normal operation

service

public void service(ServletRequest req,
                    ServletResponse res)
             throws ServletException,
                    IOException
从类 GenericServlet 复制的描述
Called by the servlet container to allow the servlet to respond to a request. See Servlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse).

This method is declared abstract so subclasses, such as HttpServlet, must override it.

指定者:
接口 Servlet 中的 service
指定者:
GenericServlet 中的 service
参数:
req - the ServletRequest object that contains the client's request
res - the ServletResponse object that will contain the servlet's response
抛出:
ServletException - if an exception occurs that interferes with the servlet's normal operation occurred
IOException - if an input or output exception occurs


Copyright © 2013. All Rights Reserved.