Methods Summary |
---|
public void | addCookie(javax.servlet.http.Cookie cookie)Disallow addCookie() calls on an included response.
if (!included)
((HttpServletResponse) getResponse()).addCookie(cookie);
|
public void | addDateHeader(java.lang.String name, long value)Disallow addDateHeader() calls on an included response.
if (!included)
((HttpServletResponse) getResponse()).addDateHeader(name, value);
|
public void | addHeader(java.lang.String name, java.lang.String value)Disallow addHeader() calls on an included response.
if (!included)
((HttpServletResponse) getResponse()).addHeader(name, value);
|
public void | addIntHeader(java.lang.String name, int value)Disallow addIntHeader() calls on an included response.
if (!included)
((HttpServletResponse) getResponse()).addIntHeader(name, value);
|
public java.lang.String | getInfo()Return descriptive information about this implementation.
return (info);
|
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 | sendError(int sc)Disallow sendError() calls on an included response.
if (!included)
((HttpServletResponse) getResponse()).sendError(sc);
|
public void | sendError(int sc, java.lang.String msg)Disallow sendError() calls on an included response.
if (!included)
((HttpServletResponse) getResponse()).sendError(sc, msg);
|
public void | sendRedirect(java.lang.String location)Disallow sendRedirect() calls on an included response.
if (!included)
((HttpServletResponse) getResponse()).sendRedirect(location);
|
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);
|
public void | setDateHeader(java.lang.String name, long value)Disallow setDateHeader() calls on an included response.
if (!included)
((HttpServletResponse) getResponse()).setDateHeader(name, value);
|
public void | setHeader(java.lang.String name, java.lang.String value)Disallow setHeader() calls on an included response.
if (!included)
((HttpServletResponse) getResponse()).setHeader(name, value);
|
void | setIncluded(boolean included)Set the included flag for this response.
this.included = included;
|
public void | setIntHeader(java.lang.String name, int value)Disallow setIntHeader() calls on an included response.
if (!included)
((HttpServletResponse) getResponse()).setIntHeader(name, value);
|
public void | setLocale(java.util.Locale loc)Disallow setLocale() calls on an included response.
if (!included)
getResponse().setLocale(loc);
|
void | setResponse(javax.servlet.http.HttpServletResponse response)Set the response that we are wrapping.
super.setResponse(response);
|
public void | setStatus(int sc)Disallow setStatus() calls on an included response.
if (!included)
((HttpServletResponse) getResponse()).setStatus(sc);
|
public void | setStatus(int sc, java.lang.String msg)Disallow setStatus() calls on an included response.
if (!included)
((HttpServletResponse) getResponse()).setStatus(sc, msg);
|