Spring Data Rest Custom Controller
问题 I have requirement where in which i need to override the delete functionality from the rest Resource using a custom controller.here is the code for restResource @RepositoryRestResource public interface SampleRepository extends JpaRepository<Sample,Long>{ List<Sample> findBySampleNumber(@Param("sampleNumber") String sampleNumber); } i have created a a custom controller which overides only delete fuctionality @RepositoryRestController @RequestMapping("/api/samples") public class