Example usage for org.springframework.data.rest.core.support EntityLookupSupport subclass-usage

List of usage examples for org.springframework.data.rest.core.support EntityLookupSupport subclass-usage

Introduction

In this page you can find the example usage for org.springframework.data.rest.core.support EntityLookupSupport subclass-usage.

Usage

From source file example.springdata.rest.uris.UserEntityLookup.java

/**
 * Custom {@link EntityLookup} to replace the usage of the database identifier in item resource URIs with the username
 * property of the {@link User}. This one is not really used out of the box as it's not a Spring bean. It's just a
 * sample of how to deploy a customization in non-Java 8 environments which can't use the fluent API in use in
 * {@link SpringDataRestCustomization}.
 *