Class CrudMethodsSupportedHttpMethods

java.lang.Object
org.springframework.data.rest.core.mapping.CrudMethodsSupportedHttpMethods
All Implemented Interfaces:
SupportedHttpMethods

public class CrudMethodsSupportedHttpMethods extends Object implements SupportedHttpMethods
SupportedHttpMethods that are determined by a CrudMethods instance.
Since:
2.3
Author:
Oliver Gierke
  • Constructor Details

    • CrudMethodsSupportedHttpMethods

      public CrudMethodsSupportedHttpMethods(org.springframework.data.repository.core.CrudMethods crudMethods, boolean methodsExposedByDefault)
      Creates a new CrudMethodsSupportedHttpMethods for the given CrudMethods.
      Parameters:
      crudMethods - must not be null.
      methodsExposedByDefault - whether repository methods should be considered exposed by default or need to be annotated with RestResource to really be visible.
  • Method Details