Remove title, head and body fields
This commit is contained in:
parent
ac5d1a6cc4
commit
1daa648bea
1 changed files with 9 additions and 5 deletions
|
@ -80,10 +80,14 @@ public final class ResponseTrans implements Externalizable {
|
||||||
static final long serialVersionUID = -8627370766119740844L;
|
static final long serialVersionUID = -8627370766119740844L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the buffers used to build the single body parts -
|
* string fields that hold a user message
|
||||||
* transient, response must be constructed before this is serialized
|
|
||||||
*/
|
*/
|
||||||
public transient String title, head, body, message, error;
|
public transient String message;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* string fields that hold an error message
|
||||||
|
*/
|
||||||
|
public transient String error;
|
||||||
|
|
||||||
static final int INITIAL_BUFFER_SIZE = 2048;
|
static final int INITIAL_BUFFER_SIZE = 2048;
|
||||||
|
|
||||||
|
@ -105,7 +109,7 @@ public final class ResponseTrans implements Externalizable {
|
||||||
|
|
||||||
public ResponseTrans () {
|
public ResponseTrans () {
|
||||||
super ();
|
super ();
|
||||||
title = head = body = message = error = null;
|
message = error = null;
|
||||||
values = new HashMap ();
|
values = new HashMap ();
|
||||||
handlers = new HashMap ();
|
handlers = new HashMap ();
|
||||||
}
|
}
|
||||||
|
@ -152,7 +156,7 @@ public final class ResponseTrans implements Externalizable {
|
||||||
response = null;
|
response = null;
|
||||||
redir = null;
|
redir = null;
|
||||||
skin = null;
|
skin = null;
|
||||||
title = head = body = message = error = null;
|
message = error = null;
|
||||||
values.clear ();
|
values.clear ();
|
||||||
lastModified = -1;
|
lastModified = -1;
|
||||||
notModified = false;
|
notModified = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue