Creating an HTTP Interceptor
Creating an HTTP interceptor consists of the following general steps.
1. Create a Java Class that implements the HTTPInterceptorIFC interface. Build the implementation into a class file that goes into a jar file.
2. Place the jar file in one of these locations to ensure that the class appears on the classpath.
Software AG_directory Integration Server_directory \instances\
instanceName\lib\jars\custom
Software AG_directory Integration Server_directory \lib\jars\custom
Software AG_directory \
Integration Server_directory \instances\
instanceName\packages\
packageName\code\jars\static
3. Set the following server configuration properties in Integration Server.
watt.server.http.interceptor.enabled
watt.server.http.interceptor.impl
watt.server.http.interceptor.preprocess.sizeLimit
For more information about these parameters, see
watt.server.4. Restart Integration Server.