| 程序包 | 说明 |
|---|---|
| org.tio.http.common |
| 限定符和类型 | 方法和说明 |
|---|---|
static MimeType |
MimeType.fromExtension(String extension)
Gets the first matching mime-type for the given extension
|
static MimeType |
MimeType.fromType(String type)
Gets the first matching mime-type for the given type
|
static MimeType |
MimeType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MimeType[] |
MimeType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
Copyright © 2022. All rights reserved.