public interface ResponseContext
| Modifier and Type | Method and Description |
|---|---|
void |
addCookie(javax.servlet.http.Cookie cookie) |
String |
encodeRedirectURL(String url) |
String |
encodeURL(String url) |
void |
flushBuffer() |
int |
getBufferSize() |
String |
getCharacterEncoding() |
String |
getContentType() |
Object |
getExternalResponse() |
Locale |
getLocale() |
OutputStream |
getOutputStream() |
PrintWriter |
getWriter() |
boolean |
isCommitted() |
void |
reset() |
void |
resetBuffer() |
void |
sendRedirect(String location) |
void |
setBufferSize(int size) |
void |
setContentType(String type) |
Object getExternalResponse()
void addCookie(javax.servlet.http.Cookie cookie)
void sendRedirect(String location) throws IOException
IOExceptionLocale getLocale()
String getCharacterEncoding()
String getContentType()
void setContentType(String type)
int getBufferSize()
void setBufferSize(int size)
PrintWriter getWriter() throws IOException
IOExceptionOutputStream getOutputStream() throws IOException
IOExceptionvoid flushBuffer()
throws IOException
IOExceptionvoid resetBuffer()
boolean isCommitted()
void reset()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.