public static class RequestWriter.StringPayloadContentWriter extends Object implements RequestWriter.ContentWriter
| Constructor and Description |
|---|
StringPayloadContentWriter(String payload,
String type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
void |
write(OutputStream os) |
public void write(OutputStream os) throws IOException
write in interface RequestWriter.ContentWriterIOExceptionpublic String getContentType()
getContentType in interface RequestWriter.ContentWriterCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.