Package org.springframework.data.rest.webmvc

Examples of org.springframework.data.rest.webmvc.PersistentEntityResourceAssembler


    String projectionParameter = webRequest.getParameter(projectionDefinitions.getParameterName());
    PersistentEntityProjector projector = new PersistentEntityProjector(projectionDefinitions, projectionFactory,
        projectionParameter, mappings);

    return new PersistentEntityResourceAssembler(repositories, entityLinks, projector, mappings);
  }
View Full Code Here


        return this.delegate.supportsParameter(parameter);
    }

    @Override
    public Object resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) throws Exception {
        PersistentEntityResourceAssembler persistentEntityResourceAssembler = (PersistentEntityResourceAssembler) delegate.resolveArgument(parameter, mavContainer, webRequest, binderFactory);

        return new DynamicPersistentEntityResourceAssembler(persistentEntityResourceAssembler);
    }
View Full Code Here

TOP

Related Classes of org.springframework.data.rest.webmvc.PersistentEntityResourceAssembler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.