Interceptor
Introduction
Implementation
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface HasPermission {
}@HasPermission
@GetMapping(value = "/{id}", produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<ResponseDto<Map<String, Object>>> userDetail(){
...
}Difference between Filter
Last updated
