| Method from javax.servlet.http.NoBodyResponse Detail: |
public void addCookie(Cookie cookie) {
resp.addCookie(cookie);
}
|
public void addDateHeader(String name,
long value) {
resp.addDateHeader(name, value);
}
|
public void addHeader(String name,
String value) {
resp.addHeader(name, value);
}
|
public void addIntHeader(String name,
int value) {
resp.addIntHeader(name, value);
}
|
public boolean containsHeader(String name) {
return resp.containsHeader(name);
}
|
public String encodeRedirectURL(String url) {
return resp.encodeRedirectURL(url);
}
|
public String encodeRedirectUrl(String url) {
return this.encodeRedirectURL(url);
} Deprecated! As - of Version 2.1, replaced by
HttpServletResponse#encodeRedirectURL .
|
public String encodeURL(String url) {
return resp.encodeURL(url);
}
|
public String encodeUrl(String url) {
return this.encodeURL(url);
} Deprecated! As - of Version 2.1, replaced by
HttpServletResponse#encodeURL .
|
public void flushBuffer() throws IOException {
resp.flushBuffer();
}
|
public int getBufferSize() {
return resp.getBufferSize();
}
|
public String getCharacterEncoding() {
return resp.getCharacterEncoding();
}
|
public String getContentType() {
return resp.getContentType();
}
|
public Locale getLocale() {
return resp.getLocale();
}
|
public ServletOutputStream getOutputStream() throws IOException {
return noBody;
}
|
public PrintWriter getWriter() throws UnsupportedEncodingException {
if (writer == null) {
OutputStreamWriter w;
w = new OutputStreamWriter(noBody, getCharacterEncoding());
writer = new PrintWriter(w);
}
return writer;
}
|
public boolean isCommitted() {
return resp.isCommitted();
}
|
public void reset() throws IllegalStateException {
resp.reset();
}
|
public void resetBuffer() throws IllegalStateException {
resp.resetBuffer();
}
|
public void sendError(int sc) throws IOException {
resp.sendError(sc);
}
|
public void sendError(int sc,
String msg) throws IOException {
resp.sendError(sc, msg);
}
|
public void sendRedirect(String location) throws IOException {
resp.sendRedirect(location);
}
|
public void setBufferSize(int size) throws IllegalStateException {
resp.setBufferSize(size);
}
|
public void setCharacterEncoding(String charset) {
resp.setCharacterEncoding(charset);
}
|
void setContentLength() {
if (!didSetContentLength)
resp.setContentLength(noBody.getContentLength());
}
|
public void setContentLength(int len) {
resp.setContentLength(len);
didSetContentLength = true;
}
|
public void setContentType(String type) {
resp.setContentType(type);
}
|
public void setDateHeader(String name,
long date) {
resp.setDateHeader(name, date);
}
|
public void setHeader(String name,
String value) {
resp.setHeader(name, value);
}
|
public void setIntHeader(String name,
int value) {
resp.setIntHeader(name, value);
}
|
public void setLocale(Locale loc) {
resp.setLocale(loc);
}
|
public void setStatus(int sc) {
resp.setStatus(sc);
}
|
public void setStatus(int sc,
String sm) {
resp.setStatus(sc, sm);
} Deprecated!
|