public class BroadleafControllerUtility extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BLC_AJAX_PARAMETER |
static String |
BLC_REDIRECT_ATTRIBUTE |
protected static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
BroadleafControllerUtility() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isAjaxRequest(javax.servlet.http.HttpServletRequest request)
A helper method that returns whether or not the given request was invoked via an AJAX call
Returns true if the request contains the XMLHttpRequest header or a blcAjax=true parameter.
|
static boolean |
isAjaxRequest(org.springframework.web.context.request.WebRequest request) |
protected static final org.apache.commons.logging.Log LOG
public static final String BLC_REDIRECT_ATTRIBUTE
public static final String BLC_AJAX_PARAMETER
public static boolean isAjaxRequest(javax.servlet.http.HttpServletRequest request)
request
- public static boolean isAjaxRequest(org.springframework.web.context.request.WebRequest request)
Copyright © 2022. All rights reserved.