|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectus.monoid.web.Resty
us.monoid.web.AbstractResource
us.monoid.web.TextResource
public class TextResource
This is a text/* representation of a resource.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class us.monoid.web.Resty |
---|
Resty.Option, Resty.Proxy, Resty.Timeout |
Constructor Summary | |
---|---|
TextResource(Resty.Option... options)
|
Method Summary | |
---|---|
String |
toString()
Kinda obvious, but, yes, it parses the inputStream with the proper charset and returns the content as String |
Methods inherited from class us.monoid.web.AbstractResource |
---|
getUrlConnection, http, location, status, stream |
Methods inherited from class us.monoid.web.Resty |
---|
alwaysSend, authenticate, authenticate, authenticateForRealm, bytes, bytes, bytes, bytes, content, content, content, data, data, delete, dontSend, enc, form, form, identifyAsMozilla, identifyAsResty, ignoreAllCerts, json, json, json, json, path, put, setOptions, setProxy, text, text, text, text, withHeader, xml, xml, xml, xml, xpath |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TextResource(Resty.Option... options)
Method Detail |
---|
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |