Resource.PlainText| Constructor and Description |
|---|
Resource.PlainText(String txt)
Public ctor.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
headers()
Get a collection of all necessary HTTP headers for this resource.
|
String |
toString() |
void |
writeTo(OutputStream stream)
Write its content to the writer.
|
public Resource.PlainText(String txt)
txt - The text to showpublic void writeTo(OutputStream stream) throws IOException
writeTo in interface Resourcestream - The stream to write toIOException - If some error with I/O insidepublic Collection<String> headers()
Copyright © 2012 s3auth.com. All Rights Reserved.