Implementing res.meta container.

This commit is contained in:
hns 2004-03-10 15:05:04 +00:00
parent 11b45fe9c4
commit 997e01da64
2 changed files with 22 additions and 2 deletions

View file

@ -250,6 +250,15 @@ public class ResponseBean implements Serializable {
return res.getMacroHandlers();
}
/**
*
*
* @return ...
*/
public Map getMeta() {
return res.getMetaData();
}
/**
*
*

View file

@ -109,12 +109,15 @@ public final class ResponseTrans implements Externalizable {
*/
public transient String error;
// the map of form and cookie data
// the res.data map of form and cookie data
private transient Map values;
// the map of macro handlers
// the res.handlers map of macro handlers
private transient Map handlers;
// the res.meta map for meta response data
private transient Map meta;
// the request trans for this response
private transient RequestTrans reqtrans;
@ -132,6 +135,7 @@ public final class ResponseTrans implements Externalizable {
message = error = null;
values = new SystemMap();
handlers = new SystemMap();
meta = new SystemMap();
}
/**
@ -169,6 +173,13 @@ public final class ResponseTrans implements Externalizable {
return handlers;
}
/**
* Get the meta info map for this response transmitter.
*/
public Map getMetaData() {
return meta;
}
/**
* Reset the response object to its initial empty state.
*/