Class ProfileController

java.lang.Object
org.springframework.data.rest.webmvc.ProfileController

@BasePathAwareController public class ProfileController extends Object
Profile-based controller exposing multiple forms of metadata.
Since:
2.4
Author:
Greg Turnquist, Oliver Gierke
  • Field Details

  • Constructor Details

  • Method Details

    • profileOptions

      @RequestMapping(value="/profile", method=OPTIONS) public org.springframework.http.HttpEntity<?> profileOptions()
      List the OPTIONS for this controller.
      Returns:
    • getRootPath

      public static String getRootPath(RepositoryRestConfiguration configuration)
      Return the href for the profile root link of a given baseUri.
      Parameters:
      configuration - is the source of the app's baseUri.
      Returns:
    • getPath

      public static String getPath(RepositoryRestConfiguration configuration, ResourceMapping mapping)
      Return the href for the profile link of a given baseUri and domain type mapping.
      Parameters:
      configuration - is the source of the app's baseUri.
      mapping - provides the resource's path.
      Returns: