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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddCookie(jakarta.servlet.http.Cookie p_cookie) voidaddDateHeader(String p_strName, long p_lTime) voidvoidaddIntHeader(String p_strName, int p_iValue) booleancontainsHeader(String p_strName) encodeRedirectUrl(String p_strUrl) Deprecated.encodeRedirectURL(String p_strUrl) Deprecated.voidintgetHeaders(String p_strName) booleanintbooleanvoidreset()voidvoidsendError(int p_iStatus) voidvoidsendRedirect(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) voidvoidsetIgnoreWrite(boolean p_bIgnoreWrite) voidsetIntHeader(String p_strName, int p_iValue) voidvoidsetStatus(int p_iStatus) voidDeprecated.
-
Constructor Details
-
HttpResponseWrapper
-
-
Method Details
-
getIgnoreWrite
public boolean getIgnoreWrite()- Specified by:
getIgnoreWritein interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setIgnoreWrite
public void setIgnoreWrite(boolean p_bIgnoreWrite) - Specified by:
setIgnoreWritein interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setContentDisposition
- Specified by:
setContentDispositionin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
reset
public void reset()- Specified by:
resetin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
getOutputStream
- Specified by:
getOutputStreamin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
IOException
-
getWriter
- Specified by:
getWriterin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
IOException
-
getBufferSize
public int getBufferSize()- Specified by:
getBufferSizein interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
setBufferSize
public void setBufferSize(int p_iBufSize) - Specified by:
setBufferSizein interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
resetBuffer
public void resetBuffer()- Specified by:
resetBufferin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
flushBuffer
public void flushBuffer()- Specified by:
flushBufferin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
isCommitted
public boolean isCommitted()- Specified by:
isCommittedin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Returns:
- Always
falsewith the current implementation.
-
getCharacterEncoding
- Specified by:
getCharacterEncodingin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
getLocale
- Specified by:
getLocalein interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
setLocale
- Specified by:
setLocalein interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
setContentLength
public void setContentLength(int p_iContentLength) - Specified by:
setContentLengthin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
setContentLengthLong
public void setContentLengthLong(long p_lContentLength) - Specified by:
setContentLengthLongin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
setContentType
- Specified by:
setContentTypein interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setStatus
public void setStatus(int p_iStatus) - Specified by:
setStatusin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
getStatus
public int getStatus()- Specified by:
getStatusin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setStatus
Deprecated.- Specified by:
setStatusin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
sendError
- Specified by:
sendErrorin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
IOException
-
sendError
- Specified by:
sendErrorin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
IOException
-
sendRedirect
- Specified by:
sendRedirectin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
IOException
-
setCharacterEncoding
- Specified by:
setCharacterEncodingin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
getHeaders
- Specified by:
getHeadersin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
getHeaderNames
- Specified by:
getHeaderNamesin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
getHeader
- Specified by:
getHeaderin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setHeader
- Specified by:
setHeaderin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setDateHeader
- Specified by:
setDateHeaderin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setIntHeader
- Specified by:
setIntHeaderin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
addDateHeader
- Specified by:
addDateHeaderin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
addHeader
- Specified by:
addHeaderin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
addIntHeader
- Specified by:
addIntHeaderin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
containsHeader
- Specified by:
containsHeaderin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
getContentType
- Specified by:
getContentTypein interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
addCookie
- Specified by:
addCookiein interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
addCookie
public void addCookie(jakarta.servlet.http.Cookie p_cookie) - Specified by:
addCookiein interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
encodeRedirectURL
- Specified by:
encodeRedirectURLin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
encodeRedirectUrl
Deprecated.- Specified by:
encodeRedirectUrlin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
encodeURL
- Specified by:
encodeURLin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-
encodeUrl
Deprecated.- Specified by:
encodeUrlin interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper- Throws:
UnsupportedOperationException- Always.
-