Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

What is the use of Interceptor design pattern?

Pragya Keshap answered on February 10, 2023 Popularity 7/10 Helpfulness 5/10

Contents


More Related Answers

  • angular command to create interceptor
  • How to implement interceptors with Spring Boot?
  • Error handling Interceptor in Angular
  • angular interceptor
  • http interceptor angular 8
  • HOw to write an interceptor in nest js so tha
  • interceptor in angular 8
  • Guide to Hibernate Interceptors
  • interceptor in angular
  • feign client interceptor

  • What is the use of Interceptor design pattern?

    1

    Interceptor design pattern is used for intercepting a request. Primary

    use of this pattern is in Security policy implementation.

    We can use this pattern to intercept the requests by a client to a

    resource. At the interception we can check for authentication and

    authorization of client for the resource being accessed.

    In Java it is used in javax.servlet.Filter interface.

    This pattern is also used in Spring framework in HandlerInterceptor

    and MVC interceptor.

    https://www.tutorialspoint.com/design_pattern/intercepting_filter_pattern.htm

    Popularity 7/10 Helpfulness 5/10 Language java
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 10 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.