|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AjaxEnabledView
Interface defining getter and setter methods for an ajaxHandler property in Views, so that they can be used in Spring AJAX environments.
Field Summary |
---|
Fields inherited from interface org.springframework.web.servlet.View |
---|
PATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE |
Method Summary | |
---|---|
org.springframework.js.ajax.AjaxHandler |
getAjaxHandler()
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)
Sets the AJAX handler (from Spring Javascript) used to determine whether a request is an AJAX request or not. |
Methods inherited from interface org.springframework.web.servlet.View |
---|
getContentType, render |
Method Detail |
---|
org.springframework.js.ajax.AjaxHandler getAjaxHandler()
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 that setAjaxHandler(AjaxHandler)
can be called by
the resolver when resolving the view, setting the default
AJAX handler being used.
void setAjaxHandler(org.springframework.js.ajax.AjaxHandler ajaxHandler)
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.
ajaxHandler
- the AJAX handler.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |