Examples of BackendIdConverter


Examples of org.springframework.data.rest.webmvc.spi.BackendIdConverter

    if (metadata == null) {
      throw new IllegalArgumentException("Could not obtain ResourceMetadata for request " + request);
    }

    BackendIdConverter pluginFor = idConverters.getPluginFor(metadata.getDomainType(), DefaultIdConverter.INSTANCE);
    String lookupPath = baseUri.getRepositoryLookupPath(request);
    return pluginFor.fromRequestId(UriUtils.findMappingVariable("id", parameter.getMethod(), lookupPath),
        metadata.getDomainType());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.