Spring Data Core

org.springframework.data.web
Class HateoasSortHandlerMethodArgumentResolver

java.lang.Object
  extended by org.springframework.data.web.SortHandlerMethodArgumentResolver
      extended by org.springframework.data.web.HateoasSortHandlerMethodArgumentResolver
All Implemented Interfaces:
org.springframework.hateoas.mvc.UriComponentsContributor, HandlerMethodArgumentResolver

public class HateoasSortHandlerMethodArgumentResolver
extends SortHandlerMethodArgumentResolver
implements org.springframework.hateoas.mvc.UriComponentsContributor

Extension of SortHandlerMethodArgumentResolver that also supports enhancing URIs using Spring HATEOAS support.

Since:
1.6
Author:
Oliver Gierke, Thomas Darimont, Nick Williams

Constructor Summary
HateoasSortHandlerMethodArgumentResolver()
           
 
Method Summary
 void enhance(UriComponentsBuilder builder, MethodParameter parameter, Object value)
           
 
Methods inherited from class org.springframework.data.web.SortHandlerMethodArgumentResolver
foldIntoExpressions, getLegacyDirectionParameter, getSortParameter, legacyFoldExpressions, resolveArgument, setFallbackSort, setPropertyDelimiter, setQualifierDelimiter, setSortParameter, supportsParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.hateoas.mvc.UriComponentsContributor
supportsParameter
 

Constructor Detail

HateoasSortHandlerMethodArgumentResolver

public HateoasSortHandlerMethodArgumentResolver()
Method Detail

enhance

public void enhance(UriComponentsBuilder builder,
                    MethodParameter parameter,
                    Object value)
Specified by:
enhance in interface org.springframework.hateoas.mvc.UriComponentsContributor

Spring Data Core

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.