Previous Topic: Session Storage API

Next Topic: How SPS Processes Custom Filters

More Information

Proxy Service Configuration

Filter API Overview

Custom filters are filters defined by customer's needs. SPS uses custom filters to manipulate a request before forwarding the request to a backend server, and also to manipulate the responses sent by the backend server to the user client.

The SPS can process a single custom filter or a group of custom filters for each request. When you create a custom filter group, the SPS processes all the filters that are part of the custom filter group in a chain.

You can look at the source code for a pre-processing filter and a post-processing filter produced with the filter API. These samples may be found in the following directory:

sps_home/proxy-engine/examples/filters

Note: In the code samples, a backslash (\) character indicates that the line should continue, but must be interrupted due to space constraints in this document.