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

public static class MimeTypes.Mutable extends MimeTypes
  • Constructor Details

    • Mutable

      public Mutable()
    • Mutable

      public Mutable(MimeTypes defaults)
  • Method Details

    • addMimeMapping

      public String addMimeMapping(String extension, String type)
      Set a mime mapping
      Parameters:
      extension - the extension
      type - the mime type
      Returns:
      previous value
    • addInferred

      public String addInferred(String contentType, String encoding)
    • addAssumed

      public String addAssumed(String contentType, String encoding)