Methods Summary |
---|
public void | addCookie(javax.servlet.http.Cookie cookie)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
if (isCommitted())
return;
((HttpServletResponse) response).addCookie(cookie);
|
public void | addDateHeader(java.lang.String name, long date)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
if (isCommitted())
return;
((HttpServletResponse) response).addDateHeader(name, date);
|
public void | addHeader(java.lang.String name, java.lang.String value)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
if (isCommitted())
return;
((HttpServletResponse) response).addHeader(name, value);
|
public void | addIntHeader(java.lang.String name, int value)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
if (isCommitted())
return;
((HttpServletResponse) response).addIntHeader(name, value);
|
public boolean | containsHeader(java.lang.String name)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
return ((HttpServletResponse) response).containsHeader(name);
|
public java.lang.String | encodeRedirectURL(java.lang.String url)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
return ((HttpServletResponse) response).encodeRedirectURL(url);
|
public java.lang.String | encodeRedirectUrl(java.lang.String url)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
return ((HttpServletResponse) response).encodeRedirectURL(url);
|
public java.lang.String | encodeURL(java.lang.String url)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
return ((HttpServletResponse) response).encodeURL(url);
|
public java.lang.String | encodeUrl(java.lang.String url)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
return ((HttpServletResponse) response).encodeURL(url);
|
public void | sendError(int sc, java.lang.String msg)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
if (isCommitted())
throw new IllegalStateException
(/*sm.getString("responseBase.reset.ise")*/);
resp.setAppCommitted(true);
((HttpServletResponse) response).sendError(sc, msg);
|
public void | sendError(int sc)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
if (isCommitted())
throw new IllegalStateException
(/*sm.getString("responseBase.reset.ise")*/);
resp.setAppCommitted(true);
((HttpServletResponse) response).sendError(sc);
|
public void | sendRedirect(java.lang.String location)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
if (isCommitted())
throw new IllegalStateException
(/*sm.getString("responseBase.reset.ise")*/);
resp.setAppCommitted(true);
((HttpServletResponse) response).sendRedirect(location);
|
public void | setDateHeader(java.lang.String name, long date)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
if (isCommitted())
return;
((HttpServletResponse) response).setDateHeader(name, date);
|
public void | setHeader(java.lang.String name, java.lang.String value)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
if (isCommitted())
return;
((HttpServletResponse) response).setHeader(name, value);
|
public void | setIntHeader(java.lang.String name, int value)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
if (isCommitted())
return;
((HttpServletResponse) response).setIntHeader(name, value);
|
public void | setStatus(int sc)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
if (isCommitted())
return;
((HttpServletResponse) response).setStatus(sc);
|
public void | setStatus(int sc, java.lang.String s)
// Disallow operation if the object has gone out of scope
if (response == null) {
throw new IllegalStateException(
sm.getString("object.invalidScope"));
}
if (isCommitted())
return;
((HttpServletResponse) response).setStatus(sc, s);
|