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 Link icon

    • Mutable Link icon

      public Mutable()
    • Mutable Link icon

      public Mutable(MimeTypes defaults)
  • Method Details Link icon

    • addMimeMapping Link icon

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

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

      public String addAssumed(String contentType, String encoding)