public class StringConnectionWriter extends Object implements ConnectionWriter
Constructor and Description |
---|
StringConnectionWriter(String body) |
Modifier and Type | Method and Description |
---|---|
Integer |
getContentLength() |
void |
write(OutputStream outputStream) |
private String body
public StringConnectionWriter(String body)
public void write(OutputStream outputStream) throws IOException
write
in interface ConnectionWriter
IOException
public Integer getContentLength()
getContentLength
in interface ConnectionWriter
Copyright © 2016. All rights reserved.