The server and client sides of interceptors use the same API. Interceptors are used to manipulate entities via modifying entity input/output streams, whereas filters are used to manipulate request and response parameters such as HTTP headers, URIs, and/or HTTP methods.