public class StringBody extends ResourceBody
| Constructor and Description |
|---|
StringBody(String body,
Charset charset)
构造,根据body内容类型,自动识别Content-Type
|
StringBody(String body,
String contentType,
Charset charset)
构造
|
contentLength, contentType, getResource, getStream, of, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontentType, getBytes, writeCloseCopyright © 2025. All rights reserved.