org.hippoecm.hst.core.component
Class HstPortletResponseState
java.lang.Object
org.hippoecm.hst.core.component.AbstractHstResponseState
org.hippoecm.hst.core.component.HstPortletResponseState
- All Implemented Interfaces:
- HstResponseState
public class HstPortletResponseState
- extends AbstractHstResponseState
Temporarily holds the current state of a HST response
Fields inherited from class org.hippoecm.hst.core.component.AbstractHstResponseState |
addedHeaders, byteOutputBuffer, characterEncoding, charOutputBuffer, closed, committed, contentLength, contentType, cookies, defaultLocale, errorCode, errorMessage, flushed, hasError, hasStatus, headElements, isActionResponse, isMimeResponse, isRenderResponse, isResourceResponse, isStateAwareResponse, locale, outputStream, preambleNodes, printWriter, setContentTypeAfterEncoding, setHeaders, statusCode, wrapperElement |
Constructor Summary |
HstPortletResponseState(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
|
Methods inherited from class org.hippoecm.hst.core.component.AbstractHstResponseState |
addCookie, addDateHeader, addHeadElement, addHeader, addIntHeader, addPreambleNode, clear, containsHeadElement, containsHeader, createComment, failIfCommitted, flush, flushBuffer, forward, getAddedHeaderList, getBufferSize, getCharacterEncoding, getContentType, getErrorCode, getErrorMessage, getForwardPathInfo, getHeadElements, getLocale, getOutputStream, getRedirectLocation, getSetHeaderList, getWrapperElement, getWriter, isActionResponse, isCommitted, isMimeResponse, isRenderResponse, isResourceResponse, isStateAwareResponse, reset, resetBuffer, sendError, sendError, sendRedirect, setBufferSize, setCharacterEncoding, setContentLength, setContentType, setDateHeader, setHeader, setIntHeader, setLocale, setStatus, setStatus, setWrapperElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
response
protected javax.portlet.PortletResponse response
renderRedirect
protected boolean renderRedirect
HstPortletResponseState
public HstPortletResponseState(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
setRenderRedirect
public void setRenderRedirect(boolean renderRedirect)
isRenderRedirect
public boolean isRenderRedirect()
createElement
public Element createElement(String tagName)
setResponseLocale
protected void setResponseLocale(Locale locale)
- Specified by:
setResponseLocale
in class AbstractHstResponseState
addResponseCookie
protected void addResponseCookie(javax.servlet.http.Cookie cookie)
- Specified by:
addResponseCookie
in class AbstractHstResponseState
setResponseCharacterEncoding
protected void setResponseCharacterEncoding(String charset)
- Specified by:
setResponseCharacterEncoding
in class AbstractHstResponseState
setResponseContentType
protected void setResponseContentType(String type)
- Specified by:
setResponseContentType
in class AbstractHstResponseState
addResponseHeader
protected void addResponseHeader(String name,
String value)
- Specified by:
addResponseHeader
in class AbstractHstResponseState
setResponseHeader
protected void setResponseHeader(String name,
String value)
- Specified by:
setResponseHeader
in class AbstractHstResponseState
addResponseHeadElement
protected void addResponseHeadElement(Element element,
String keyHint)
- Specified by:
addResponseHeadElement
in class AbstractHstResponseState
setResponseStatus
protected void setResponseStatus(int status)
- Specified by:
setResponseStatus
in class AbstractHstResponseState
setResponseContentLength
protected void setResponseContentLength(int len)
- Specified by:
setResponseContentLength
in class AbstractHstResponseState
getResponseOutputStream
protected OutputStream getResponseOutputStream()
throws IOException
- Specified by:
getResponseOutputStream
in class AbstractHstResponseState
- Throws:
IOException
getResponseWriter
protected PrintWriter getResponseWriter()
throws IOException
- Specified by:
getResponseWriter
in class AbstractHstResponseState
- Throws:
IOException
Copyright © 2008-2012 Hippo. All Rights Reserved.