Interface AjaxEnabledView
-
- All Superinterfaces:
org.springframework.web.servlet.View
- All Known Implementing Classes:
AjaxThymeleafView
,FlowAjaxThymeleafView
@Deprecated public interface AjaxEnabledView extends org.springframework.web.servlet.View
Deprecated.Deprecated in 3.0.0. Moved to theorg.thymeleaf.spring4.webflow.view
package. Will be removed from this package in Thymeleaf 3.1.Interface defining getter and setter methods for an
ajaxHandler
property in Views, so that they can be used in Spring AJAX environments.- Since:
- 2.0.12
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description org.springframework.js.ajax.AjaxHandler
getAjaxHandler()
Deprecated.Return the AJAX handler (from Spring Javascript) used to determine whether a request is an AJAX request or not.void
setAjaxHandler(org.springframework.js.ajax.AjaxHandler ajaxHandler)
Deprecated.Sets the AJAX handler (from Spring Javascript) used to determine whether a request is an AJAX request or not.
-
-
-
Method Detail
-
getAjaxHandler
org.springframework.js.ajax.AjaxHandler getAjaxHandler()
Deprecated.Return the AJAX handler (from Spring Javascript) used to determine whether a request is an AJAX request or not.
Views implementing this interface should be used with an instance of
AjaxThymeleafViewResolver
or any of its subclasses, so thatsetAjaxHandler(AjaxHandler)
can be called by the resolver when resolving the view, setting the default AJAX handler being used.- Returns:
- the AJAX handler.
-
setAjaxHandler
void setAjaxHandler(org.springframework.js.ajax.AjaxHandler ajaxHandler)
Deprecated.Sets the AJAX handler (from Spring Javascript) used to determine whether a request is an AJAX request or not.
Views implementing this interface should be used with an instance of
AjaxThymeleafViewResolver
or any of its subclasses, so that this method can be called by the resolver when resolving the view, setting the default AJAX handler being used.- Parameters:
ajaxHandler
- the AJAX handler.
-
-