public class StringConnectionWriter extends Object implements ConnectionWriter
| Constructor and Description |
|---|
StringConnectionWriter(List<String> body) |
StringConnectionWriter(String body) |
| Modifier and Type | Method and Description |
|---|---|
private String |
flatString(List<String> lines) |
Integer |
getContentLength() |
void |
write(OutputStream outputStream) |
private String body
public StringConnectionWriter(String body)
public void write(OutputStream outputStream) throws IOException
write in interface ConnectionWriterIOExceptionpublic Integer getContentLength()
getContentLength in interface ConnectionWriterCopyright © 2022. All rights reserved.