Last active
October 15, 2017 02:07
-
-
Save khannedy/998a404b46911a46bea93eb639f4e498 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
public class DemoConfiguration extends WebMvcConfigurerAdapter { | |
@Override | |
public void addInterceptors(InterceptorRegistry registry) { | |
// Add HandlerInterceptor to Registry | |
registry.addInterceptor(new DemoInterceptor()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment