WOMessage represents a message with an HTTP header and either HTML or XML content. The methods of the WOMessage class can be divided primarily into two groups, those that deal with a message's content and those that read and set header information.
Headers are case-insensitive.
WebObjects enforces the HTTP specification, but avoid mixing the case of header keys. See the HTTP specification or HTTP documentation for more information on the HTTP headers and version. You can set the string encoding used for the response content with setContentEncoding and you find out what the current encoding is with contentEncoding . An integer represents the type of encoding. The following table lists these integer values along with their WebObjects string-constant names.