|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Content
Interface representing the content of a web page. The Web Page should be given in a single string format, but not everyone enjoys working with Strings directly - so instead of forcing them to use Strings directly, they can implement this interface on top of their favorite choice of editing class, for instance a PrintStream.
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getCookies()
Returns any cookies that should be set |
java.lang.String |
getMIMEType()
Returns the MIME type for this content |
java.lang.String |
getPage()
Returns the Page that this Content encapsulates |
byte[] |
getRawContent()
Returns a RAW version of the content |
| Method Detail |
|---|
java.lang.String getPage()
byte[] getRawContent()
java.lang.String getMIMEType()
java.util.Map<java.lang.String,java.lang.String> getCookies()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||