Servoy 5.x Public API

com.servoy.j2db.util
Class HTTPUtils

java.lang.Object
  extended by com.servoy.j2db.util.HTTPUtils

public class HTTPUtils
extends Object

Class that provides static utility methods related to HTTP.


Constructor Summary
HTTPUtils()
           
 
Method Summary
static void setNoCacheHeaders(javax.servlet.http.HttpServletResponse response)
          This method tries to make peace between different browsers, versions and browser bugs for no-caching response headers.
It will set response headers to prevent the response from being cached.
 
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

setNoCacheHeaders

public static void setNoCacheHeaders(javax.servlet.http.HttpServletResponse response)
This method tries to make peace between different browsers, versions and browser bugs for no-caching response headers.
It will set response headers to prevent the response from being cached.

Parameters:
response - the HTTP response on which header fields will be set.

Copyright © 2010 Servoy B.V.