com.groiss.servlet
Class HttpUtils

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

public class HttpUtils
extends java.lang.Object

Utility class for common workarounds with HTTP protocol.


Constructor Summary
HttpUtils()
           
 
Method Summary
static void setNoCache(javax.servlet.http.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(javax.servlet.http.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.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.