interceptor function

[/ɪn.tərˈsɛp.tər ˈfʌŋk.ʃən/]
nounpl: interceptor functions
função interceptadora
1. A function that intercepts, interrupts, or processes requests, responses, or operations before they reach their intended destination or after they complete, typically used in middleware or aspect-oriented programming
The interceptor function logs all HTTP requests before they are sent to the server.
A função interceptadora registra todas as requisições HTTP antes de serem enviadas ao servidor.
2. In software development, a callable component that sits between two layers of an application to modify, filter, or monitor data flow
We implemented an interceptor function to add authentication tokens to every API call.
Implementamos uma função interceptadora para adicionar tokens de autenticação em todas as chamadas de API.
3. A mechanism in frameworks and libraries that allows you to hook into the request-response cycle to perform cross-cutting concerns
The Angular interceptor function enabled global error handling across the application.
A função interceptadora do Angular permitiu o tratamento de erros global em toda a aplicação.
This is primarily technical jargon used in software development communities in both Brazil and the USA. In Brazilian tech companies, the English term 'interceptor' is commonly used alongside the Portuguese translation 'função interceptadora'. The term gained prominence with modern web frameworks like Angular, Spring Boot, and Axios, making it essential vocabulary for full-stack developers in both countries.
Synonyms / Sinônimos
middleware functioninterceptormiddleware interceptorrequest interceptorresponse interceptor

Regional Variations

General Brazilian
função interceptadora
Standard term used in software development contexts in Brazil
São Paulo
função interceptadora / interceptor
Often used with English term 'interceptor' in tech companies
Portugal
função intercetadora
Portuguese variant spelling with 'c' instead of 'p'
USA Tech
interceptor function
Primarily English terminology, standard in American software documentation

Related Words

middlewaredecoratoraspect-oriented programmingHTTP requestresponse handlerfilterhook

Related Idioms & Phrases

chain of interceptors
interceptor pattern
intercept and modify
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →