Spring Boot MCQ Quiz Hub

Spring Boot - Interceptor

Choose a topic to test your knowledge and improve your Spring Boot skills

Spring Boot support Interceptor ?





✅ Correct Answer: 1

Interceptor in Spring Boot can perform operations under which situations?





✅ Correct Answer: 3

Can we use Interceptor to add the request header before sending to the controller ?





✅ Correct Answer: 1

Can we use interceptor to add response header before sending the response to the client ?





✅ Correct Answer: 1

Spring Boot -Interceptor to work on it .We need create class supported





✅ Correct Answer: 3

Choose methods in Spring boot -Interceptor -HandlerInterceptor interface





✅ Correct Answer: 4

Spring Boot Interceptor -HandlerInterface -preHandle() method





✅ Correct Answer: 1

postHandle() method arguments are ?





✅ Correct Answer: 3

return type of preHandle()





✅ Correct Answer: 1

To register a Spring boot Interceptor with InterceptorRegistry use





✅ Correct Answer: 1