If you use i-net Clear Reports report server, it may be useful to have an own control structure for process HTTP requests received from report server.
A lot of application area are thinkable. For example show runtime information of report cache or of i-net Scheduler. Also a security layer accessing requests only for specific user (user management) is possible.
The principle of RequestHandler is easy. The RequestHandler has two methods. One method decides whether the request have to processed by this RequestHandler, the other method process the request and returns the answer for the client.
Two steps are required to add a RequestHandler.
com.companyname.MyRequestHandler, com.companyname.MySecondRequestHandler
In the Java code samples you can find the sample implementation: sample/requesthandler/RequestHandlerCacheViewer.java.
This sample shows the usage of the RequestHandler interface.
It will display the current state of the report cache. It can be called by the following after starting it:
http://<host>:<port>/?init=samplecacheviewer
i-net software strives to provide accurate product documentation. Please give us your feedback using the form below.
NOTE: This form is for documentation feedback only. For technical assistance, please send an email to clearreports@inetsoftware.de.