Methods Summary |
---|
boolean | isIncluded()Return the included flag for this response.
return (this.included);
|
public void | reset()Disallow reset() calls on a included response.
// ------------------------------------------------ ServletResponse Methods
// If already committed, the wrapped response will throw ISE
if (!included || getResponse().isCommitted())
getResponse().reset();
|
public void | setBufferSize(int size)Ignore setBufferSize() calls on an included response.
if (!included)
getResponse().setBufferSize(size);
|
public void | setContentLength(int len)Disallow setContentLength() calls on an included response.
if (!included)
getResponse().setContentLength(len);
|
public void | setContentType(java.lang.String type)Disallow setContentType() calls on an included response.
if (!included)
getResponse().setContentType(type);
|
void | setIncluded(boolean included)Set the included flag for this response.
this.included = included;
|
public void | setLocale(java.util.Locale loc)Ignore setLocale() calls on an included response.
if (!included)
getResponse().setLocale(loc);
|
public void | setResponse(javax.servlet.ServletResponse response)Set the response that we are wrapping.
super.setResponse(response);
|