Example usage for org.springframework.data.rest.core.mapping ResourceMapping getPath

List of usage examples for org.springframework.data.rest.core.mapping ResourceMapping getPath

Introduction

In this page you can find the example usage for org.springframework.data.rest.core.mapping ResourceMapping getPath.

Prototype

Path getPath();

Source Link

Document

Returns the path the resource is exposed under.

Usage

From source file:org.moserp.common.structure.ApplicationStructureController.java

private String getPath(ResourceMapping mapping) {
    String path = getRootPath();
    return mapping == null ? path : path + mapping.getPath();
}