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.ContentWriter
IOException
public String getContentType()
getContentType
in interface RequestWriter.ContentWriter
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.