org.apache.cocoon.ajax
Class AjaxHelper

java.lang.Object
  extended by org.apache.cocoon.ajax.AjaxHelper

public class AjaxHelper
extends Object

Helper class to handle Ajax requests

Since:
2.1.8
Version:
$Id: AjaxHelper.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
static String AJAX_REQUEST_PARAMETER
          The request parameter that, if set, indicates an Ajax request.
static String BROWSER_UPDATE_URI
          The namespace URI of the "browser update" xml dialect
 
Method Summary
static boolean isAjaxRequest(Request req)
          Is the request an Ajax request?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AJAX_REQUEST_PARAMETER

public static final String AJAX_REQUEST_PARAMETER
The request parameter that, if set, indicates an Ajax request.

See Also:
Constant Field Values

BROWSER_UPDATE_URI

public static final String BROWSER_UPDATE_URI
The namespace URI of the "browser update" xml dialect

See Also:
Constant Field Values
Method Detail

isAjaxRequest

public static boolean isAjaxRequest(Request req)
Is the request an Ajax request?

Parameters:
req - the request
Returns:
true if this is an Ajax request


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.