Package org.eclipse.jetty.http
Class MimeTypes.Mutable
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, ISO_8859_1, UTF16, UTF8
-
Constructor Summary
-
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
getAssumedCharset, getAssumedMap, getBaseType, getCharset, getCharsetAssumedFromContentType, getCharsetFromContentType, getCharsetInferredFromContentType, getContentTypeWithoutCharset, getInferredCharset, getInferredMap, getKnownCharset, getMimeByExtension, getMimeForExtension, getMimeMap, isKnownLocale, normalizeCharset, normalizeCharset
-
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
-