ch.claudio.pediacache.servlet
Class ServletUtilities

java.lang.Object
  extended by ch.claudio.pediacache.servlet.ServletUtilities

public class ServletUtilities
extends java.lang.Object

Version:
$Id: ServletUtilities.java 102 2006-08-18 23:03:16Z claudio $
Author:
Claudio Nieder

Copyright (C) 2006 Claudio Nieder <private@claudio.ch>, CH-8610 Uster

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This program 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


Constructor Summary
ServletUtilities()
           
 
Method Summary
static void addStdHeader(javax.servlet.http.HttpServletResponse response)
          Add some headers which shall always be set.
static void main(java.lang.String[] args)
          Print license.
static java.lang.String pageEnd()
          Return a standard page end
static java.lang.String pageStart()
          Return a standard page start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletUtilities

public ServletUtilities()
Method Detail

pageStart

public static java.lang.String pageStart()
Return a standard page start

Returns:
page start

pageEnd

public static java.lang.String pageEnd()
Return a standard page end

Returns:
page end

main

public static void main(java.lang.String[] args)
Print license.

Parameters:
args - ignored

addStdHeader

public static void addStdHeader(javax.servlet.http.HttpServletResponse response)
Add some headers which shall always be set.

Parameters:
response -