atg.projects.store.ui
Class AjaxUtils

java.lang.Object
  extended by atg.projects.store.ui.AjaxUtils

public class AjaxUtils
extends java.lang.Object

Utility methods for AJAX request processing.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
AjaxUtils()
           
 
Method Summary
static boolean isAjaxRequest(atg.servlet.DynamoHttpServletRequest pRequest)
          Determine is this request an AJAX request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

AjaxUtils

public AjaxUtils()
Method Detail

isAjaxRequest

public static boolean isAjaxRequest(atg.servlet.DynamoHttpServletRequest pRequest)
Determine is this request an AJAX request. Any UI components that require an alternate response for AJAX requests (with JSON data for example), should set a request header "Accept:application/json".

Parameters:
pRequest - The HTTP request
Returns:
true if this is an AJAX request, false otherwise