Class HttpResponseWrapper
- java.lang.Object
- 
- de.uplanet.lucy.server.connector.web.HttpResponseWrapper
 
- 
- All Implemented Interfaces:
- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 public final class HttpResponseWrapper extends Object implements de.uplanet.lucy.server.connector.web.IHttpResponseWrapper 
- 
- 
Constructor SummaryConstructors Constructor Description HttpResponseWrapper(IServerBridgeResponse p_response)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddCookie(Cookie p_cookie)voidaddCookie(javax.servlet.http.Cookie p_cookie)voidaddDateHeader(String p_strName, long p_lTime)voidaddHeader(String p_strName, String p_strValue)voidaddIntHeader(String p_strName, int p_iValue)booleancontainsHeader(String p_strName)StringencodeRedirectUrl(String p_strUrl)Deprecated.StringencodeRedirectURL(String p_strUrl)StringencodeUrl(String p_strUrl)Deprecated.StringencodeURL(String p_strUrl)voidflushBuffer()intgetBufferSize()StringgetCharacterEncoding()StringgetContentType()StringgetHeader(String p_strName)Collection<String>getHeaderNames()Collection<String>getHeaders(String p_strName)booleangetIgnoreWrite()LocalegetLocale()OutputStreamgetOutputStream()intgetStatus()WritergetWriter()booleanisCommitted()voidreset()voidresetBuffer()voidsendError(int p_iStatus)voidsendError(int p_iStatus, String p_strMsg)voidsendRedirect(String p_strLocation)voidsetBufferSize(int p_iBufSize)voidsetCharacterEncoding(String p_strEncoding)voidsetContentDisposition(String p_strDispositionType, String p_strFileName)voidsetContentLength(int p_iContentLength)voidsetContentLengthLong(long p_lContentLength)voidsetContentType(String p_strContentType)voidsetDateHeader(String p_strName, long p_lTime)voidsetHeader(String p_strName, String p_strValue)voidsetIgnoreWrite(boolean p_bIgnoreWrite)voidsetIntHeader(String p_strName, int p_iValue)voidsetLocale(Locale p_locale)voidsetStatus(int p_iStatus)voidsetStatus(int p_iStatus, String p_strMsg)Deprecated.
 
- 
- 
- 
Constructor Detail- 
HttpResponseWrapperpublic HttpResponseWrapper(IServerBridgeResponse p_response) 
 
- 
 - 
Method Detail- 
getIgnoreWritepublic boolean getIgnoreWrite() - Specified by:
- getIgnoreWritein interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
setIgnoreWritepublic void setIgnoreWrite(boolean p_bIgnoreWrite) - Specified by:
- setIgnoreWritein interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
setContentDispositionpublic void setContentDisposition(String p_strDispositionType, String p_strFileName) - Specified by:
- setContentDispositionin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
resetpublic void reset() - Specified by:
- resetin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
getOutputStreampublic OutputStream getOutputStream() throws IOException - Specified by:
- getOutputStreamin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- IOException
 
 - 
getWriterpublic Writer getWriter() throws IOException - Specified by:
- getWriterin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- IOException
 
 - 
getBufferSizepublic int getBufferSize() - Specified by:
- getBufferSizein interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
setBufferSizepublic void setBufferSize(int p_iBufSize) - Specified by:
- setBufferSizein interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
resetBufferpublic void resetBuffer() - Specified by:
- resetBufferin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
flushBufferpublic void flushBuffer() - Specified by:
- flushBufferin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
isCommittedpublic boolean isCommitted() - Specified by:
- isCommittedin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Returns:
- Always falsewith the current implementation.
 
 - 
getCharacterEncodingpublic String getCharacterEncoding() - Specified by:
- getCharacterEncodingin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
getLocalepublic Locale getLocale() - Specified by:
- getLocalein interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
setLocalepublic void setLocale(Locale p_locale) - Specified by:
- setLocalein interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
setContentLengthpublic void setContentLength(int p_iContentLength) - Specified by:
- setContentLengthin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
setContentLengthLongpublic void setContentLengthLong(long p_lContentLength) - Specified by:
- setContentLengthLongin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
setContentTypepublic void setContentType(String p_strContentType) - Specified by:
- setContentTypein interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
setStatuspublic void setStatus(int p_iStatus) - Specified by:
- setStatusin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
getStatuspublic int getStatus() - Specified by:
- getStatusin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
setStatus@Deprecated public void setStatus(int p_iStatus, String p_strMsg) Deprecated.- Specified by:
- setStatusin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
sendErrorpublic void sendError(int p_iStatus, String p_strMsg) throws IOException- Specified by:
- sendErrorin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- IOException
 
 - 
sendErrorpublic void sendError(int p_iStatus) throws IOException- Specified by:
- sendErrorin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- IOException
 
 - 
sendRedirectpublic void sendRedirect(String p_strLocation) throws IOException - Specified by:
- sendRedirectin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- IOException
 
 - 
setCharacterEncodingpublic void setCharacterEncoding(String p_strEncoding) - Specified by:
- setCharacterEncodingin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
getHeaderspublic Collection<String> getHeaders(String p_strName) - Specified by:
- getHeadersin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
getHeaderNamespublic Collection<String> getHeaderNames() - Specified by:
- getHeaderNamesin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
getHeaderpublic String getHeader(String p_strName) - Specified by:
- getHeaderin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
setHeaderpublic void setHeader(String p_strName, String p_strValue) - Specified by:
- setHeaderin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
setDateHeaderpublic void setDateHeader(String p_strName, long p_lTime) - Specified by:
- setDateHeaderin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
setIntHeaderpublic void setIntHeader(String p_strName, int p_iValue) - Specified by:
- setIntHeaderin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
addDateHeaderpublic void addDateHeader(String p_strName, long p_lTime) - Specified by:
- addDateHeaderin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
addHeaderpublic void addHeader(String p_strName, String p_strValue) - Specified by:
- addHeaderin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
addIntHeaderpublic void addIntHeader(String p_strName, int p_iValue) - Specified by:
- addIntHeaderin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
containsHeaderpublic boolean containsHeader(String p_strName) - Specified by:
- containsHeaderin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
getContentTypepublic String getContentType() - Specified by:
- getContentTypein interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
addCookiepublic void addCookie(Cookie p_cookie) - Specified by:
- addCookiein interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
addCookiepublic void addCookie(javax.servlet.http.Cookie p_cookie) - Specified by:
- addCookiein interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
 
 - 
encodeRedirectURLpublic String encodeRedirectURL(String p_strUrl) - Specified by:
- encodeRedirectURLin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
encodeRedirectUrl@Deprecated public String encodeRedirectUrl(String p_strUrl) Deprecated.- Specified by:
- encodeRedirectUrlin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
encodeURLpublic String encodeURL(String p_strUrl) - Specified by:
- encodeURLin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 - 
encodeUrl@Deprecated public String encodeUrl(String p_strUrl) Deprecated.- Specified by:
- encodeUrlin interface- de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
- UnsupportedOperationException- Always.
 
 
- 
 
-