public class RawData extends Object implements RequestPayload
| 构造器和说明 |
|---|
RawData() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
append(CharSequence charSequence) |
ContentType |
getContentType()
获取 content type
|
void |
setContentType(ContentType contentType)
设置 content type
|
void |
setContentType(String contentType)
设置 content type
|
void |
writePayload(OutputStream outputStream) |
public void append(CharSequence charSequence)
public void writePayload(OutputStream outputStream) throws IOException
writePayload 在接口中 RequestPayloadIOExceptionpublic void setContentType(ContentType contentType)
contentType - ContentTypepublic void setContentType(String contentType)
contentType - content type stringpublic ContentType getContentType()
getContentType 在接口中 RequestPayloadCopyright © 2019. All rights reserved.