com.groiss.servlet
Class HttpUtils

java.lang.Object
  extended by com.groiss.servlet.HttpUtils

public class HttpUtils
extends Object

Utility class for common workarounds with HTTP protocol.


Constructor Summary
HttpUtils()
           
 
Method Summary
static void setNoCache(HttpServletResponse res)
          Set response to no-cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpUtils

public HttpUtils()
Method Detail

setNoCache

public static void setNoCache(HttpServletResponse res)
Set response to no-cache. Note that you have to call this method before data is written (getWriter() or getOuptutStream() is called).

Parameters:
res - the HTTP-response


@enterprise 8.0.10809 Copyright © 2001-2012 Groiss Informatics GmbH. All Rights Reserved.