public interface ResponseWrapper
| Modifier and Type | Method and Description |
|---|---|
void |
addDateHeader(String name,
long date) |
void |
addHeader(String name,
String value) |
void |
addIntHeader(String name,
int value) |
void |
flushBuffer() |
String |
getContentType() |
String |
getHeader(String name) |
Collection<String> |
getHeaderNames() |
Collection<String> |
getHeaders(String name) |
Locale |
getLocale() |
javax.servlet.ServletOutputStream |
getOutputStream() |
int |
getStatus() |
PrintWriter |
getWriter() |
boolean |
isCommitted() |
void |
sendError(int sc) |
void |
sendError(int sc,
String msg) |
void |
sendRedirect(String location) |
void |
setCharacterEncoding(String charset) |
void |
setContentType(String type) |
void |
setDateHeader(String name,
long date) |
void |
setHeader(String name,
String value) |
void |
setIntHeader(String name,
int value) |
void |
setLocale(Locale loc) |
void |
setStatus(int sc) |
void |
setStatus(int sc,
String sm) |
String getContentType()
javax.servlet.ServletOutputStream getOutputStream()
throws IOException
IOExceptionvoid sendError(int sc,
String msg)
throws IOException
IOExceptionPrintWriter getWriter() throws IOException
IOExceptionvoid sendError(int sc)
throws IOException
IOExceptionvoid setCharacterEncoding(String charset)
void sendRedirect(String location) throws IOException
IOExceptionvoid setDateHeader(String name, long date)
void setContentType(String type)
void addDateHeader(String name, long date)
void setIntHeader(String name, int value)
void addIntHeader(String name, int value)
void flushBuffer()
throws IOException
IOExceptionvoid setStatus(int sc)
boolean isCommitted()
void setStatus(int sc,
String sm)
int getStatus()
void setLocale(Locale loc)
Collection<String> getHeaders(String name)
Collection<String> getHeaderNames()
Locale getLocale()
Copyright © 2017. All rights reserved.