FileResolvingHandler.registerMimeType

Registers a new mime type for this handler.

class FileResolvingHandler
registerMimeType
(,
string mimeType
)

Parameters

fileExtension string

The file extension to use, including the '.' separator.

mimeType string

The mime type that will be assigned to the given file extension.

Return Value

The handler, for method chaining.

Meta