Class |
|
---|---|
Component |
|
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:
dispatcherServiceMap=\
dynamo-internal/html=/atg/dynamo/servlet/dafpipeline/
FileFinderServlet
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.