org.broadleafcommerce.common.web.controller
Class BroadleafAbstractController
java.lang.Object
org.broadleafcommerce.common.web.controller.BroadleafAbstractController
public abstract class BroadleafAbstractController
- extends Object
An abstract controller that provides convenience methods and resource declarations for its children
Operations that are shared between all controllers belong here. To use composition rather than
extension, implementors can utilize BroadleafControllerUtility.
- Author:
- apazzolini, bpolster
- See Also:
BroadleafControllerUtility
|
Method Summary |
protected boolean |
isAjaxRequest(javax.servlet.http.HttpServletRequest request)
A helper method that returns whether or not the given request was invoked via an AJAX call |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BroadleafAbstractController
public BroadleafAbstractController()
isAjaxRequest
protected boolean isAjaxRequest(javax.servlet.http.HttpServletRequest request)
- A helper method that returns whether or not the given request was invoked via an AJAX call
- Parameters:
request -
- Returns:
- - whether or not it was an AJAX request
Copyright © 2012. All Rights Reserved.