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 TypeMethodDescriptionvoid
void
addCookie
(javax.servlet.http.Cookie p_cookie) void
addDateHeader
(String p_strName, long p_lTime) void
void
addIntHeader
(String p_strName, int p_iValue) boolean
containsHeader
(String p_strName) encodeRedirectUrl
(String p_strUrl) Deprecated.encodeRedirectURL
(String p_strUrl) Deprecated.void
int
getHeaders
(String p_strName) boolean
int
boolean
void
reset()
void
void
sendError
(int p_iStatus) void
void
sendRedirect
(String p_strLocation) void
setBufferSize
(int p_iBufSize) void
setCharacterEncoding
(String p_strEncoding) void
setContentDisposition
(String p_strDispositionType, String p_strFileName) void
setContentLength
(int p_iContentLength) void
setContentLengthLong
(long p_lContentLength) void
setContentType
(String p_strContentType) void
setDateHeader
(String p_strName, long p_lTime) void
void
setIgnoreWrite
(boolean p_bIgnoreWrite) void
setIntHeader
(String p_strName, int p_iValue) void
void
setStatus
(int p_iStatus) void
Deprecated.
-
Constructor Details
-
HttpResponseWrapper
-
-
Method Details
-
getIgnoreWrite
public boolean getIgnoreWrite()- Specified by:
getIgnoreWrite
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setIgnoreWrite
public void setIgnoreWrite(boolean p_bIgnoreWrite) - Specified by:
setIgnoreWrite
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setContentDisposition
- Specified by:
setContentDisposition
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
reset
public void reset()- Specified by:
reset
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
getOutputStream
- Specified by:
getOutputStream
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
IOException
-
getWriter
- Specified by:
getWriter
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
IOException
-
getBufferSize
public int getBufferSize()- Specified by:
getBufferSize
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
setBufferSize
public void setBufferSize(int p_iBufSize) - Specified by:
setBufferSize
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
resetBuffer
public void resetBuffer()- Specified by:
resetBuffer
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
flushBuffer
public void flushBuffer()- Specified by:
flushBuffer
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
isCommitted
public boolean isCommitted()- Specified by:
isCommitted
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Returns:
- Always
false
with the current implementation.
-
getCharacterEncoding
- Specified by:
getCharacterEncoding
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
getLocale
- Specified by:
getLocale
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
setLocale
- Specified by:
setLocale
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
setContentLength
public void setContentLength(int p_iContentLength) - Specified by:
setContentLength
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
setContentLengthLong
public void setContentLengthLong(long p_lContentLength) - Specified by:
setContentLengthLong
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
setContentType
- Specified by:
setContentType
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setStatus
public void setStatus(int p_iStatus) - Specified by:
setStatus
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
getStatus
public int getStatus()- Specified by:
getStatus
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setStatus
Deprecated.- Specified by:
setStatus
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
sendError
- Specified by:
sendError
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
IOException
-
sendError
- Specified by:
sendError
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
IOException
-
sendRedirect
- Specified by:
sendRedirect
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
IOException
-
setCharacterEncoding
- Specified by:
setCharacterEncoding
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
getHeaders
- Specified by:
getHeaders
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
getHeaderNames
- Specified by:
getHeaderNames
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
getHeader
- Specified by:
getHeader
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setHeader
- Specified by:
setHeader
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setDateHeader
- Specified by:
setDateHeader
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
setIntHeader
- Specified by:
setIntHeader
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
addDateHeader
- Specified by:
addDateHeader
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
addHeader
- Specified by:
addHeader
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
addIntHeader
- Specified by:
addIntHeader
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
containsHeader
- Specified by:
containsHeader
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
getContentType
- Specified by:
getContentType
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
addCookie
- Specified by:
addCookie
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
addCookie
public void addCookie(javax.servlet.http.Cookie p_cookie) - Specified by:
addCookie
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
-
encodeRedirectURL
- Specified by:
encodeRedirectURL
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
encodeRedirectUrl
Deprecated.- Specified by:
encodeRedirectUrl
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
encodeURL
- Specified by:
encodeURL
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-
encodeUrl
Deprecated.- Specified by:
encodeUrl
in interfacede.uplanet.lucy.server.connector.web.IHttpResponseWrapper
- Throws:
UnsupportedOperationException
- Always.
-