@Component
public class AlfrescoPagedResourcesAssembler<T>
extends org.springframework.data.web.PagedResourcesAssembler<T>
| Constructor and Description |
|---|
AlfrescoPagedResourcesAssembler(org.springframework.data.web.HateoasPageableHandlerMethodArgumentResolver resolver,
org.springframework.web.util.UriComponents baseUri,
ExtendedPageMetadataConverter extendedPageMetadataConverter)
Creates a new
PagedResourcesAssembler using the given PageableHandlerMethodArgumentResolver and
base URI. |
| Modifier and Type | Method and Description |
|---|---|
<R extends org.springframework.hateoas.ResourceSupport> |
toResource(org.springframework.data.domain.Pageable pageable,
org.springframework.data.domain.Page<T> page,
org.springframework.hateoas.ResourceAssembler<T,R> assembler) |
public AlfrescoPagedResourcesAssembler(@Nullable
org.springframework.data.web.HateoasPageableHandlerMethodArgumentResolver resolver,
@Nullable
org.springframework.web.util.UriComponents baseUri,
ExtendedPageMetadataConverter extendedPageMetadataConverter)
PagedResourcesAssembler using the given PageableHandlerMethodArgumentResolver and
base URI. If the former is null, a default one will be created. If the latter is null, calls
to PagedResourcesAssembler.toResource(Page) will use the current request's URI to build the relevant previous and next links.resolver - can be null.baseUri - can be null.Copyright © 2017–2019 Alfresco. All rights reserved.