public class StringBody extends ResourceBody
| 构造器和说明 |
|---|
StringBody(String body,
Charset charset)
构造,根据body内容类型,自动识别Content-Type
|
StringBody(String body,
String contentType,
Charset charset)
构造
|
getContentType, getResource, getStream, of, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentType, writeCloseCopyright © 2023. All rights reserved.