com.github.dandelion.datatables.extras.spring3.ajax
Class DatatablesCriteriasResolver
java.lang.Object
com.github.dandelion.datatables.extras.spring3.ajax.DatatablesCriteriasResolver
- All Implemented Interfaces:
- org.springframework.web.bind.support.WebArgumentResolver
Deprecated. in favor of the DatatablesCriteriasMethodArgumentResolver
for versions of Spring 3.1 and greater.
public class DatatablesCriteriasResolver
- extends Object
- implements org.springframework.web.bind.support.WebArgumentResolver
Resolves a method argument of type DatatablesCriterias annotated with
DatatablesParams.
Datatable attributes are obtained from the HttpServletRequest, and
mapped to the annotated DatatablesCriterias object.
This WebArgumentResolver can be enabled in Spring 3.0 and earlier using XML
configuration as shown below. Note for versions of Spring 3.1 and greater the
DatatablesCriteriasMethodArgumentResolver should be used instead.
<mvc:annotation-driven>
<mvc:argument-resolvers>
<bean class="com.github.dandelion.datatables.extras.spring3.ajax.DatatablesCriteriasResolver" />
</mvc:argument-resolvers>
</mvc:annotation-driven>
- Since:
- 0.8.2
- Author:
- Thibault Duchateau
- See Also:
DatatablesParams,
DatatablesCriterias
| Fields inherited from interface org.springframework.web.bind.support.WebArgumentResolver |
UNRESOLVED |
|
Method Summary |
Object |
resolveArgument(org.springframework.core.MethodParameter methodParam,
org.springframework.web.context.request.NativeWebRequest nativeWebRequest)
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatatablesCriteriasResolver
public DatatablesCriteriasResolver()
- Deprecated.
resolveArgument
public Object resolveArgument(org.springframework.core.MethodParameter methodParam,
org.springframework.web.context.request.NativeWebRequest nativeWebRequest)
throws Exception
- Deprecated.
- Specified by:
resolveArgument in interface org.springframework.web.bind.support.WebArgumentResolver
- Throws:
Exception
Copyright © 2013. All Rights Reserved.