org.apache.cocoon.ajax
Class AjaxHelper

java.lang.Object
  extended byorg.apache.cocoon.ajax.AjaxHelper

public class AjaxHelper
extends Object

Helper class to handle Ajax requests

Since:
2.1.8
Version:
$Id: AjaxHelper.html 1304280 2012-03-23 11:18:01Z 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(org.apache.cocoon.environment.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(org.apache.cocoon.environment.Request req)
Is the request an Ajax request?

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


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.