Class MimeGuessLayer

java.lang.Object
org.apache.opendal.Layer
org.apache.opendal.layer.MimeGuessLayer

public class MimeGuessLayer extends Layer
Fills in the content type on writes and stat results based on the file extension. Content types supplied by the caller or returned by the service are preserved.
See Also:
  • Constructor Details

    • MimeGuessLayer

      public MimeGuessLayer()
  • Method Details

    • layer

      protected long layer(long nativeOp)
      Specified by:
      layer in class Layer