spring-framework / org.springframework.core.codec / StringDecoder / textPlainOnly

textPlainOnly

open static fun textPlainOnly(splitOnNewline: Boolean): StringDecoder

Create a StringDecoder for "text/plain".

Parameters

splitOnNewline - whether to split the byte stream into lines