Software AG Products 10.7 | Administering Integration Server | Using HTTP Interceptors | Overview of HTTP Interceptors | HTTP Interceptor Interfaces
 
HTTP Interceptor Interfaces
An HTTP interceptor can be created by writing a Java class that implements one of the following interfaces:
*com.softwareag.is.interceptor.HttpInterceptorIFC for inbound interceptors.
*com.softwareag.is.interceptor.HttpOutboundInterceptorIFC for outbound interceptors.
Both interfaces declare two methods that the implementing classes can implement for processing requests and responses:
*The preProcess method, which is invoked for HTTP requests. In the case of inbound interceptors it is invoked for the HTTP requests received by the Integration Server, and in the case of outbound interceptors for the HTTP requests sent by Integration Server.
*The postProcess method, which is invoked for HTTP responses. In the case of inbound interceptors it is invoked for the HTTP responses sent by the Integration Server. In the case of outbound interceptors for the HTTP responses received by Integration Server.