Sun Java System Web Server 7.0 Update 3 NSAPI Developer's Guide

Quality of Service() Example

The code for the qos-handler (AuthTrans) and qos-error (Error) SAFs is provided in case you want to define your own SAFs for quality of service handling.

For more information about predefined SAFs, see the Sun Java System Web Server 7.0 Update 3 Administrator’s Configuration File Reference.

Installing the Quality of Service() Example

Inside the default object in obj.conf, add the following AuthTrans and Error directives:

AuthTrans fn=qos-handler
Error fn=qos-error code=503


The source code for this example is in the qos.c file in the samples/nsapi subdirectory of the server root directory.