|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.tonjac.mini.RenderServiceReply
public class RenderServiceReply
Reply buffer for a mini webapp service
| Constructor Summary | |
|---|---|
RenderServiceReply(java.lang.String content_type)
Creates a service reply buffer of any type |
|
| Method Summary | |
|---|---|
void |
append(java.lang.String data)
Append data to the buffer |
java.lang.String |
getData()
Data buffer |
int |
getReturnCode()
Return code (0=Commit, 1=Rollback) |
void |
setReturnCode(int code)
Set return code for a service reply. 0 = Tells Mini to commit and any other value tells Mini to Rollback transaction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RenderServiceReply(java.lang.String content_type)
content_type - Content-type| Method Detail |
|---|
public void append(java.lang.String data)
data - Datapublic void setReturnCode(int code)
code - Codepublic int getReturnCode()
public java.lang.String getData()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||