类的使用
org.springframework.core.codec.StringDecoder
使用StringDecoder的程序包 程序包 说明 org.springframework.core.codec org.springframework.core.codec中StringDecoder的使用
返回StringDecoder的org.springframework.core.codec中的方法 修饰符和类型 方法 说明 static StringDecoder
StringDecoder. allMimeTypes()
Create aStringDecoder
that supports all MIME types.static StringDecoder
StringDecoder. allMimeTypes(boolean stripDelimiter)
已过时。as of Spring 5.0.4, in favor ofallMimeTypes()
orallMimeTypes(List, boolean)
static StringDecoder
StringDecoder. allMimeTypes(List<String> delimiters, boolean stripDelimiter)
Create aStringDecoder
that supports all MIME types.static StringDecoder
StringDecoder. textPlainOnly()
Create aStringDecoder
for"text/plain"
.static StringDecoder
StringDecoder. textPlainOnly(boolean stripDelimiter)
已过时。as of Spring 5.0.4, in favor oftextPlainOnly()
ortextPlainOnly(List, boolean)
static StringDecoder
StringDecoder. textPlainOnly(List<String> delimiters, boolean stripDelimiter)
Create aStringDecoder
for"text/plain"
.