com.google.sitebricks
Class StringBuilderRespond

java.lang.Object
  extended by com.google.sitebricks.StringBuilderRespond
All Implemented Interfaces:
Respond

@NotThreadSafe
public class StringBuilderRespond
extends Object
implements Respond

Author:
Dhanji R. Prasanna (dhanji@gmail.com)

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.sitebricks.Respond
Respond.HtmlTagBuilder
 
Field Summary
 
Fields inherited from interface com.google.sitebricks.Respond
HEADLESS
 
Constructor Summary
StringBuilderRespond(Object context)
           
 
Method Summary
 void chew()
           
 void clear()
           
 String getContentType()
           
 String getHead()
           
 String getRedirect()
           
 Renderable include(String argument)
           
 Object pageObject()
           
 void redirect(String to)
           
 void require(String require)
           
 String toString()
           
 Respond.HtmlTagBuilder withHtml()
           
 void write(char c)
           
 void write(String text)
           
 void writeToHead(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringBuilderRespond

public StringBuilderRespond(Object context)
Method Detail

getHead

public String getHead()
Specified by:
getHead in interface Respond

write

public void write(String text)
Specified by:
write in interface Respond

withHtml

public Respond.HtmlTagBuilder withHtml()
Specified by:
withHtml in interface Respond

write

public void write(char c)
Specified by:
write in interface Respond

require

public void require(String require)
Specified by:
require in interface Respond

redirect

public void redirect(String to)
Specified by:
redirect in interface Respond

writeToHead

public void writeToHead(String text)
Specified by:
writeToHead in interface Respond

chew

public void chew()
Specified by:
chew in interface Respond

getRedirect

public String getRedirect()
Specified by:
getRedirect in interface Respond

include

public Renderable include(String argument)
Specified by:
include in interface Respond

getContentType

public String getContentType()
Specified by:
getContentType in interface Respond

clear

public void clear()
Specified by:
clear in interface Respond

pageObject

public Object pageObject()
Specified by:
pageObject in interface Respond

toString

public String toString()
Specified by:
toString in interface Respond
Overrides:
toString in class Object


Copyright © 2014. All rights reserved.