interceptor
n.n. a device or person that stops something from reaching its destination. In computing, it is a program that watches over other programs to catch errors or control data.
n. a device, program, or person designed to intercept and potentially block or modify data or objects in transit. In a technical context, it refers to a software component that monitors and controls the flow of information between different parts of a system.
The firewall acts as a network interceptor to block harmful traffic.
The software interceptor logs every request made by the application to help developers identify performance bottlenecks.
In distributed systems, a message interceptor allows for the injection of cross-cutting concerns such as logging or security checks without modifying the core business logic of the application.