public final class RqPrint extends RqWrap
The class is immutable and thread-safe.
Modifier and Type | Method and Description |
---|---|
String |
print()
Print it all.
|
void |
print(OutputStream output)
Print it all.
|
String |
printBody()
Print body.
|
void |
printBody(OutputStream output)
Print body.
|
String |
printHead()
Print it all.
|
void |
printHead(OutputStream output)
Print it all.
|
public RqPrint(Request req)
req
- Original requestpublic String print() throws IOException
IOException
- If failspublic void print(OutputStream output) throws IOException
output
- Output streamIOException
- If failspublic String printHead() throws IOException
IOException
- If failspublic void printHead(OutputStream output) throws IOException
output
- Output streamIOException
- If failspublic String printBody() throws IOException
IOException
- If failspublic void printBody(OutputStream output) throws IOException
output
- Output stream to print toIOException
- If failsCopyright © 2015 Take. All rights reserved.