Tag: Spring

  • How to create and register Spring Boot custom request filter

    Creating a custom request filter in Spring Boot is a relatively simple process that can be accomplished by following a few basic steps. To apply the filter to specific URLs, use a @Bean annotation to assign the filter only to request that meet criteria. For example, the code below attaches the MyCustomFilter.class only to request…