fixed formatting
This commit is contained in:
parent
cf89e3a4a5
commit
289f87d5ff
1 changed files with 55 additions and 55 deletions
|
@ -7,39 +7,39 @@ import helma.framework.core.Application;
|
||||||
|
|
||||||
public class ResponseBean implements Serializable {
|
public class ResponseBean implements Serializable {
|
||||||
|
|
||||||
ResponseTrans res;
|
ResponseTrans res;
|
||||||
|
|
||||||
public ResponseBean(ResponseTrans res) {
|
public ResponseBean(ResponseTrans res) {
|
||||||
this.res = res;
|
this.res = res;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void encode (Object what) {
|
public void encode (Object what) {
|
||||||
res.encode (what);
|
res.encode (what);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void encodeXml (Object what) {
|
public void encodeXml (Object what) {
|
||||||
res.encodeXml (what);
|
res.encodeXml (what);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void format (Object what) {
|
public void format (Object what) {
|
||||||
res.format (what);
|
res.format (what);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void pushStringBuffer () {
|
public void pushStringBuffer () {
|
||||||
res.pushStringBuffer ();
|
res.pushStringBuffer ();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String popStringBuffer () {
|
public String popStringBuffer () {
|
||||||
return res.popStringBuffer ();
|
return res.popStringBuffer ();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void redirect (String url) throws RedirectException {
|
public void redirect (String url) throws RedirectException {
|
||||||
res.redirect (url);
|
res.redirect (url);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reset () {
|
public void reset () {
|
||||||
res.reset ();
|
res.reset ();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCookie (String key, String value) {
|
public void setCookie (String key, String value) {
|
||||||
res.setCookie (key, value, -1);
|
res.setCookie (key, value, -1);
|
||||||
|
@ -47,90 +47,90 @@ public class ResponseBean implements Serializable {
|
||||||
|
|
||||||
public void setCookie (String key, String value, int days) {
|
public void setCookie (String key, String value, int days) {
|
||||||
res.setCookie (key, value, days);
|
res.setCookie (key, value, days);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void write (Object what) {
|
public void write (Object what) {
|
||||||
res.write (what);
|
res.write (what);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void writeln (Object what) {
|
public void writeln (Object what) {
|
||||||
res.writeln (what);
|
res.writeln (what);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void writeBinary (byte[] what) {
|
public void writeBinary (byte[] what) {
|
||||||
res.writeBinary (what);
|
res.writeBinary (what);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "[Response]";
|
return "[Response]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// property-related methods:
|
// property-related methods:
|
||||||
|
|
||||||
public boolean getcache () {
|
public boolean getcache () {
|
||||||
return res.cache;
|
return res.cache;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setcache (boolean cache) {
|
public void setcache (boolean cache) {
|
||||||
res.cache = cache;
|
res.cache = cache;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getcharset () {
|
public String getcharset () {
|
||||||
return res.charset;
|
return res.charset;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setcharset (String charset) {
|
public void setcharset (String charset) {
|
||||||
res.charset = charset;
|
res.charset = charset;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getcontentType () {
|
public String getcontentType () {
|
||||||
return res.contentType;
|
return res.contentType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setcontentType (String contentType) {
|
public void setcontentType (String contentType) {
|
||||||
res.contentType = contentType;
|
res.contentType = contentType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Map getdata () {
|
public Map getdata () {
|
||||||
return res.getResponseData ();
|
return res.getResponseData ();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String geterror () {
|
public String geterror () {
|
||||||
return res.error;
|
return res.error;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getmessage () {
|
public String getmessage () {
|
||||||
return res.message;
|
return res.message;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setmessage (String message) {
|
public void setmessage (String message) {
|
||||||
res.message = message;
|
res.message = message;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getrealm () {
|
public String getrealm () {
|
||||||
return res.realm;
|
return res.realm;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setrealm (String realm) {
|
public void setrealm (String realm) {
|
||||||
res.realm = realm;
|
res.realm = realm;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setskinpath (Object[] arr) {
|
public void setskinpath (Object[] arr) {
|
||||||
res.setTranslatedSkinpath (arr);
|
res.setTranslatedSkinpath (arr);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object[] getskinpath () {
|
public Object[] getskinpath () {
|
||||||
return res.getTranslatedSkinpath ();
|
return res.getTranslatedSkinpath ();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getstatus () {
|
public int getstatus () {
|
||||||
return res.status;
|
return res.status;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setstatus (int status) {
|
public void setstatus (int status) {
|
||||||
res.status = status;
|
res.status = status;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue