From: Brad <bra...@us...> - 2005-10-19 01:22:52
|
Update of /cvsroot/archive-access/archive-access/projects/wayback/src/java/org/archive/wayback/servletglue In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv901/src/java/org/archive/wayback/servletglue Modified Files: RequestFilter.java WBQueryUIServlet.java WBReplayUIServlet.java Log Message: lots of javadoc comments Index: WBQueryUIServlet.java =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wayback/src/java/org/archive/wayback/servletglue/WBQueryUIServlet.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** WBQueryUIServlet.java 18 Oct 2005 02:30:49 -0000 1.1 --- WBQueryUIServlet.java 19 Oct 2005 01:22:37 -0000 1.2 *************** *** 1,2 **** --- 1,25 ---- + /* WBQueryUIServlet + * + * Created on 2005/10/18 14:00:00 + * + * Copyright (C) 2005 Internet Archive. + * + * This file is part of the Wayback Machine (crawler.archive.org). + * + * Wayback Machine is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser Public License as published by + * the Free Software Foundation; either version 2.1 of the License, or + * any later version. + * + * Wayback Machine is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser Public License for more details. + * + * You should have received a copy of the GNU Lesser Public License + * along with Wayback Machine; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + package org.archive.wayback.servletglue; *************** *** 15,18 **** --- 38,47 ---- import org.archive.wayback.core.WaybackLogic; + /** + * Servlet implementation for Wayback Path and PathPrefix Queries. + * + * @author Brad Tofel + * @version $Date$, $Revision$ + */ public class WBQueryUIServlet extends HttpServlet { *************** *** 23,29 **** private static final long serialVersionUID = 1L; public WBQueryUIServlet() { super(); - // TODO Auto-generated constructor stub } --- 52,60 ---- private static final long serialVersionUID = 1L; + /** + * Constructor + */ public WBQueryUIServlet() { super(); } *************** *** 58,62 **** */ public static void main(String[] args) { - // TODO Auto-generated method stub } --- 89,92 ---- Index: WBReplayUIServlet.java =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wayback/src/java/org/archive/wayback/servletglue/WBReplayUIServlet.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** WBReplayUIServlet.java 18 Oct 2005 02:30:49 -0000 1.1 --- WBReplayUIServlet.java 19 Oct 2005 01:22:37 -0000 1.2 *************** *** 1,2 **** --- 1,25 ---- + /* WBReplayUIServlet + * + * Created on 2005/10/18 14:00:00 + * + * Copyright (C) 2005 Internet Archive. + * + * This file is part of the Wayback Machine (crawler.archive.org). + * + * Wayback Machine is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser Public License as published by + * the Free Software Foundation; either version 2.1 of the License, or + * any later version. + * + * Wayback Machine is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser Public License for more details. + * + * You should have received a copy of the GNU Lesser Public License + * along with Wayback Machine; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + package org.archive.wayback.servletglue; *************** *** 15,18 **** --- 38,47 ---- import org.archive.wayback.core.WaybackLogic; + /** + * Servlet implementation for Wayback Replay requests. + * + * @author Brad Tofel + * @version $Date$, $Revision$ + */ public class WBReplayUIServlet extends HttpServlet { private static final String WMREQUEST_ATTRIBUTE = "wmrequest.attribute"; *************** *** 22,28 **** private WaybackLogic wayback = new WaybackLogic(); public WBReplayUIServlet() { super(); - // TODO Auto-generated constructor stub } --- 51,59 ---- private WaybackLogic wayback = new WaybackLogic(); + /** + * Constructor + */ public WBReplayUIServlet() { super(); } *************** *** 57,61 **** */ public static void main(String[] args) { - // TODO Auto-generated method stub } --- 88,91 ---- Index: RequestFilter.java =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wayback/src/java/org/archive/wayback/servletglue/RequestFilter.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RequestFilter.java 18 Oct 2005 02:30:49 -0000 1.1 --- RequestFilter.java 19 Oct 2005 01:22:37 -0000 1.2 *************** *** 1,2 **** --- 1,25 ---- + /* RequestFilter + * + * Created on 2005/10/18 14:00:00 + * + * Copyright (C) 2005 Internet Archive. + * + * This file is part of the Wayback Machine (crawler.archive.org). + * + * Wayback Machine is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser Public License as published by + * the Free Software Foundation; either version 2.1 of the License, or + * any later version. + * + * Wayback Machine is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser Public License for more details. + * + * You should have received a copy of the GNU Lesser Public License + * along with Wayback Machine; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + package org.archive.wayback.servletglue; *************** *** 18,21 **** --- 41,52 ---- import org.archive.wayback.core.WMRequest; + /** + * Servlet filter that first attempts to recognize a WMRequest in a + * ServletRequest, forwarding the request to appropriate Servlet handler if a + * request is found. + * + * @author Brad Tofel + * @version $Date$, $Revision$ + */ public class RequestFilter implements Filter { private static final Logger LOGGER = Logger.getLogger(RequestFilter.class *************** *** 32,46 **** private RequestParser requestParser = null; - public RequestFilter() { - super(); - // TODO Auto-generated constructor stub - } - /** ! * @param args */ ! public static void main(String[] args) { ! // TODO Auto-generated method stub ! } --- 63,71 ---- private RequestParser requestParser = null; /** ! * Constructor */ ! public RequestFilter() { ! super(); } *************** *** 114,118 **** public void destroy() { ! // TODO Auto-generated method stub } --- 139,149 ---- public void destroy() { ! ! } ! ! /** ! * @param args ! */ ! public static void main(String[] args) { } |