MimeTypeDispatcher is an instance of a subclass of DispatcherPipelineServlet that sends a request to one of several servlets depending on the MIME type of the request. The dispatcherServiceMap property maps each MIME type to the appropriate servlet. As installed, this property has one mapping:


The MIME type is extracted from MimeTyperPipelineServlet.ATTRIBUTE_NAME, so MimeTyperServlet must precede MimeTypeDispatcher in the pipeline. The MIME types specified in the dispatcherServiceMap property must already be mapped to filename extensions (see Adding MIME Types). The servlets specified by dispatcherServiceMap must have global scope.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices