| 程序包 | 说明 |
|---|---|
| org.springframework.core.codec |
| 限定符和类型 | 方法和说明 |
|---|---|
static StringDecoder |
StringDecoder.allMimeTypes()
Create a
StringDecoder that supports all MIME types. |
static StringDecoder |
StringDecoder.allMimeTypes(boolean ignored)
已过时。
as of Spring 5.0.4, in favor of
allMimeTypes() or
allMimeTypes(List, boolean) |
static StringDecoder |
StringDecoder.allMimeTypes(List<String> delimiters,
boolean stripDelimiter)
Create a
StringDecoder that supports all MIME types. |
static StringDecoder |
StringDecoder.textPlainOnly()
Create a
StringDecoder for "text/plain". |
static StringDecoder |
StringDecoder.textPlainOnly(boolean ignored)
已过时。
as of Spring 5.0.4, in favor of
textPlainOnly() or
textPlainOnly(List, boolean) |
static StringDecoder |
StringDecoder.textPlainOnly(List<String> delimiters,
boolean stripDelimiter)
Create a
StringDecoder for "text/plain". |