(Optional) Determines the default timeout, in seconds, for “un-chunking” request data. If this parameter is not specified, the default is 60 seconds.
If there is more than one Service-class function, the first one matching the optional wildcard parameters (type, method, or query) is executed.
For more information about the UseOutputStreamSize, flushTimer, ChunkedRequestBufferSize, and ChunkedRequestTimeout parameters, see Buffered Streams in the Sun Java System Web Server 6.1 SP9 NSAPI Programmer’s Guide. The UseOutputStreamSize, ChunkedRequestBufferSize, and ChunkedRequestTimeout parameters also have equivalent magnus.conf directives. For more information, see “Chunked Encoding” in the chapter “Syntax and Use of magnus.conf” in the Sun Java System Web Server 6.1 SP9 Administrator’s Configuration File Reference. The obj.conf parameters override the magnus.conf directives.
By default, the server sends the requested file to the client by calling the send-file function. The directive that sets the default is:
Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file"
This directive usually comes last in the set of Service-class directives to give all other Service directives a chance to be invoked. This directive is invoked if the method of the request is GET, HEAD, or POST, and the type does not start with magnus-internal/. Note here that the pattern *~ means “does not match.” For a list of characters that can be used in patterns, see the Sun Java System Web Server 6.1 SP9 NSAPI Programmer’s Guide.
The following Service-class functions are described in detail in this section:
add-footer appends a footer specified by a file name or URL to an HTML file.
add-header prepends a header specified by a file name or URL to an HTML file.
append-trailer appends text to the end of an HTML file.
imagemap handles server-side image maps.
index-common generates a fancy list of the files and directories in a requested directory.
index-simple generates a simple list of files and directories in a requested directory.
key-toosmall indicates to the client that the provided certificate key size is too small to accept.
list-dir lists the contents of a directory.
make-dir creates a directory.
match-browser matches specific strings in the User-Agent string supplied by the browser, and then modifies the behavior of Sun Java System Web Server based upon the results by setting values for specified variables.
query-handler handles the HTML ISINDEX tag.
remove-dir deletes an empty directory.
delete-file deletes a file.
remove-filter removes a refilter from the filter stack.
rename-file renames a file.
send-cgi sets up environment variables, launches a CGI program, and sends the response to the client.
send-error sends an HTML file to the client in place of a specific HTTP response status.
send-file sends a local file to the client.
send-range sends a range of bytes of a file to the client.
send-shellcgi sets up environment variables, launches a shell CGI program, and sends the response to the client.
send-wincgi sets up environment variables, launches a WinCGI program, and sends the response to the client.
service-dav services static content and restarts the request with the sourceuri for dynamic content.
service-dump creates a performance report based on collected performance bucket data.
service-j2ee services requests made to Java web applications.
service-trace services TRACE requests.
set-variable enables you to change server settings based upon conditional information in a request, and to manipulate variables in parameter blocks by using specific commands.
shtml_send parses an HTML file for server-parsed HTML commands.
stats-xml creates a performance report in XML format.
upload-file uploads and saves a file.