View Javadoc

1   
2   /*
3    * Copyright (C) 2005 by Arno Schumacher
4    *
5    * This file is part of net.sourceforge.servletspy
6    *
7    * net.sourceforge.servletspy is free software; you can redistribute
8    * it and/or modify it under the terms of the GNU General Public 
9    * License as published by the Free Software Foundation; either 
10   * version 2, or (at your option) any later version.
11   *
12   * net.sourceforge.servletspy is distributed in the hope that it will
13   * be useful, but WITHOUT ANY WARRANTY; without even the implied 
14   * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
15   * See the GNU General Public License for more details.
16   *
17   * You should have received a copy of the GNU General Public License
18   * along with this program; if not, write to the Free Software
19   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA 
20   */
21  
22  package net.sourceforge.servletspy.handler.servlet;
23  
24  import net.sourceforge.servletspy.handler.base.AbstractInterfaceTransformer;
25  
26  /***
27   * @author arno schumacher
28   */
29  public final class ServletInterfacesHandler extends AbstractInterfaceTransformer {
30  
31      /*** The interfaces... */
32      private static final Class[] INTERFACES = new Class[] {
33              javax.servlet.FilterChain.class,
34              javax.servlet.RequestDispatcher.class,
35              javax.servlet.http.HttpServletRequest.class,
36              javax.servlet.http.HttpServletResponse.class,
37              javax.servlet.ServletRequest.class,
38              javax.servlet.ServletResponse.class,
39              javax.servlet.http.HttpSession.class,
40              javax.servlet.ServletContext.class,
41              javax.servlet.http.Cookie.class,
42              javax.servlet.http.HttpSessionListener.class,
43              javax.servlet.jsp.HttpJspPage.class,
44              javax.servlet.jsp.JspPage.class,
45              javax.servlet.jsp.JspEngineInfo.class,
46              javax.servlet.jsp.JspFactory.class,
47              javax.servlet.jsp.JspWriter.class };
48  
49      /***
50       * Constructor.
51       */
52      public ServletInterfacesHandler() {
53          super(INTERFACES);
54      }
55  }