Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cocoon.ajax
Class AjaxHelper

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

public class AjaxHelper
extends Object

Helper class to handle Ajax requests

Since:
  2.1.8
Version:
  $Id: AjaxHelper.java 587757 2007-10-24 02:52:49Z vgritsenko $

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

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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