java.lang.Object
org.eclipse.jetty.http.MimeTypes
org.eclipse.jetty.http.MimeTypes.Mutable
- Direct Known Subclasses:
MimeTypes.Wrapper
- Enclosing class:
MimeTypes
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.http.MimeTypes
MimeTypes.Mutable, MimeTypes.Type, MimeTypes.Wrapper -
Field Summary
Fields inherited from class org.eclipse.jetty.http.MimeTypes
_assumedEncodings, _inferredEncodings, _mimeMap, CACHE, DEFAULTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAssumed(String contentType, String encoding) addInferred(String contentType, String encoding) addMimeMapping(String extension, String type) Set a mime mappingMethods inherited from class org.eclipse.jetty.http.MimeTypes
getAssumedMap, getBaseType, getCharsetAssumedFromContentType, getCharsetFromContentType, getCharsetInferredFromContentType, getContentTypeWithoutCharset, getInferredMap, getMimeByExtension, getMimeForExtension, getMimeMap, isKnownLocale
-
Constructor Details
-
Mutable
public Mutable() -
Mutable
-
-
Method Details
-
addMimeMapping
Set a mime mapping- Parameters:
extension- the extensiontype- the mime type- Returns:
- previous value
-
addInferred
-
addAssumed
-