Use 'toString(Charset)' instead of 'toString(String)' for encodings (#27646)
Co-authored-by: 홍성민(SungMin Hong)/Platform Engineering팀/11ST <devmonster@11stcorp.com>
This commit is contained in:
@@ -252,8 +252,8 @@ public class RestTemplateXhrTransport extends AbstractXhrTransport {
|
||||
return null;
|
||||
}
|
||||
|
||||
private void handleFrame(ByteArrayOutputStream os) throws IOException {
|
||||
String content = os.toString(SockJsFrame.CHARSET.name());
|
||||
private void handleFrame(ByteArrayOutputStream os) {
|
||||
String content = os.toString(SockJsFrame.CHARSET);
|
||||
os.reset();
|
||||
if (logger.isTraceEnabled()) {
|
||||
logger.trace("XHR receive content: " + content);
|
||||
|
||||
Reference in New Issue
Block a user