A component that provides a map for determining content-type from the suffix of the URL.
Adds a handler class for the given content type.
Parameter | Type | Description |
---|---|---|
key | String | |
contentType | String |
Returns the handler class for the given content type.
Parameter | Type | Description |
---|---|---|
fileName | String |