|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.ServletResponseWrapper
javax.servlet.http.HttpServletResponseWrapper
org.jasig.portal.channels.jsp.HttpResponseFacade
@Deprecated public class HttpResponseFacade
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
HttpResponseFacade(HttpServletResponse arg0)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addCookie(Cookie arg0)
Deprecated. Override to prevent corruption of underlying request. |
void |
addDateHeader(String arg0,
long arg1)
Deprecated. Override to prevent corruption of underlying request. |
void |
addHeader(String arg0,
String arg1)
Deprecated. Override to prevent corruption of underlying request. |
void |
addIntHeader(String arg0,
int arg1)
Deprecated. Override to prevent corruption of underlying request. |
void |
flushBuffer()
Deprecated. Override to flush internal buffer and not that of underlying response. |
String |
getCharacterEncoding()
Deprecated. Returns the character encoding set on this object if any. |
char[] |
getCharacters()
Deprecated. |
int |
getErrorCode()
Deprecated. Provides access to error code set on this wrapper and not on the state of the underlying response. |
String |
getErrorMessage()
Deprecated. Provides access to error message set on this wrapper and not on the state of the underlying response. |
ServletOutputStream |
getOutputStream()
Deprecated. This is an unsupported method for our use in the JSP channel type and results in an UnsupportedOperationException being thrown. |
PrintWriter |
getWriter()
Deprecated. Override to return the internal writer and not that of underlying response. |
boolean |
isCommitted()
Deprecated. Always returns false since this is a wrapper that enlessly buffers the output written to it. |
boolean |
isSuccessful()
Deprecated. |
void |
reset()
Deprecated. Override to prevent corruption of underlying request. |
void |
resetBuffer()
Deprecated. Override to prevent corruption of underlying request. |
void |
sendError(int arg0)
Deprecated. Override to prevent corruption of underlying request. |
void |
sendError(int arg0,
String arg1)
Deprecated. Override to prevent corruption of underlying request. |
void |
sendRedirect(String arg0)
Deprecated. Override to prevent corruption of underlying request. |
void |
setBufferSize(int arg0)
Deprecated. Override to prevent corruption of underlying request. |
void |
setCharacterEncoding(String arg0)
Deprecated. Sets the character encoding on this object and not the underlying response. |
void |
setContentLength(int arg0)
Deprecated. Override to prevent corruption of underlying request. |
void |
setContentType(String arg0)
Deprecated. Only looks for the character encoding aspect of the specified content type and sets that on this object and not the underlying response. |
void |
setDateHeader(String arg0,
long arg1)
Deprecated. Override to prevent corruption of underlying request. |
void |
setHeader(String arg0,
String arg1)
Deprecated. Override to prevent corruption of underlying request. |
void |
setIntHeader(String arg0,
int arg1)
Deprecated. Override to prevent corruption of underlying request. |
void |
setLocale(Locale arg0)
Deprecated. Override to prevent corruption of underlying request. |
void |
setStatus(int arg0)
Deprecated. Override to prevent corruption of underlying request. |
void |
setStatus(int arg0,
String arg1)
Deprecated. Override to prevent corruption of underlying request. |
| Methods inherited from class javax.servlet.http.HttpServletResponseWrapper |
|---|
containsHeader, encodeRedirectUrl, encodeRedirectURL, encodeUrl, encodeURL |
| Methods inherited from class javax.servlet.ServletResponseWrapper |
|---|
getBufferSize, getContentType, getLocale, getResponse, setResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.ServletResponse |
|---|
getBufferSize, getContentType, getLocale |
| Constructor Detail |
|---|
public HttpResponseFacade(HttpServletResponse arg0)
arg0 - | Method Detail |
|---|
public char[] getCharacters()
public void addCookie(Cookie arg0)
addCookie in interface HttpServletResponseaddCookie in class HttpServletResponseWrapper
public void addDateHeader(String arg0,
long arg1)
addDateHeader in interface HttpServletResponseaddDateHeader in class HttpServletResponseWrapper
public void addHeader(String arg0,
String arg1)
addHeader in interface HttpServletResponseaddHeader in class HttpServletResponseWrapper
public void addIntHeader(String arg0,
int arg1)
addIntHeader in interface HttpServletResponseaddIntHeader in class HttpServletResponseWrapper
public void sendError(int arg0,
String arg1)
throws IOException
sendError in interface HttpServletResponsesendError in class HttpServletResponseWrapperIOExceptionpublic boolean isSuccessful()
public int getErrorCode()
public String getErrorMessage()
public void sendError(int arg0)
throws IOException
sendError in interface HttpServletResponsesendError in class HttpServletResponseWrapperIOException
public void sendRedirect(String arg0)
throws IOException
sendRedirect in interface HttpServletResponsesendRedirect in class HttpServletResponseWrapperIOException
public void setDateHeader(String arg0,
long arg1)
setDateHeader in interface HttpServletResponsesetDateHeader in class HttpServletResponseWrapper
public void setHeader(String arg0,
String arg1)
setHeader in interface HttpServletResponsesetHeader in class HttpServletResponseWrapper
public void setIntHeader(String arg0,
int arg1)
setIntHeader in interface HttpServletResponsesetIntHeader in class HttpServletResponseWrapper
public void setStatus(int arg0,
String arg1)
setStatus in interface HttpServletResponsesetStatus in class HttpServletResponseWrapperpublic void setStatus(int arg0)
setStatus in interface HttpServletResponsesetStatus in class HttpServletResponseWrapper
public void flushBuffer()
throws IOException
flushBuffer in interface ServletResponseflushBuffer in class ServletResponseWrapperIOException
public ServletOutputStream getOutputStream()
throws IOException
getOutputStream in interface ServletResponsegetOutputStream in class ServletResponseWrapperIOException
public PrintWriter getWriter()
throws IOException
getWriter in interface ServletResponsegetWriter in class ServletResponseWrapperIOExceptionpublic void reset()
reset in interface ServletResponsereset in class ServletResponseWrapperpublic void resetBuffer()
resetBuffer in interface ServletResponseresetBuffer in class ServletResponseWrapperpublic void setBufferSize(int arg0)
setBufferSize in interface ServletResponsesetBufferSize in class ServletResponseWrapperpublic void setCharacterEncoding(String arg0)
setCharacterEncoding in interface ServletResponsesetCharacterEncoding in class ServletResponseWrapperpublic void setContentLength(int arg0)
setContentLength in interface ServletResponsesetContentLength in class ServletResponseWrapperpublic void setContentType(String arg0)
setContentType in interface ServletResponsesetContentType in class ServletResponseWrapperpublic void setLocale(Locale arg0)
setLocale in interface ServletResponsesetLocale in class ServletResponseWrapperpublic String getCharacterEncoding()
getCharacterEncoding in interface ServletResponsegetCharacterEncoding in class ServletResponseWrapperpublic boolean isCommitted()
isCommitted in interface ServletResponseisCommitted in class ServletResponseWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||