public interface MinioContentTypeProbe
Modifier and Type | Method and Description |
---|---|
default String |
getContentType(CharSequence name) |
default String |
getContentType(CharSequence name,
Supplier<String> otherwise) |
default String |
getContentType(File file) |
default String |
getContentType(InputStream input) |
default String |
getContentType(Path path) |
default String |
getContentType(Resource value) |
@Nullable default String getContentType(@Nullable CharSequence name)
@Nullable default String getContentType(@Nullable InputStream input)