com.google.sitebricks
Class StringBuilderRespond
java.lang.Object
com.google.sitebricks.StringBuilderRespond
- All Implemented Interfaces:
- Respond
@NotThreadSafe
public class StringBuilderRespond
- extends Object
- implements Respond
- Author:
- Dhanji R. Prasanna (dhanji@gmail.com)
StringBuilderRespond
public StringBuilderRespond(Object context)
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.