public interface ServletResponseContent
Modifier and Type | Method and Description |
---|---|
String |
getContentAsString()
Get the string representation of the response.
|
Integer |
getContentLength()
Get the size of the response.
|
String |
getContentType()
Get the content type of the servlet response.
|
void |
writeTo(OutputStream outputStream)
Write the response to a stream.
|
String getContentType()
void writeTo(OutputStream outputStream) throws IOException
outputStream
- the destination output stream.IOException
- if an error occurred while writing the response to
the stream.String getContentAsString()
Integer getContentLength()
Copyright © 2019 Nu Echo Inc..