public class HstServletResponseState extends AbstractHstResponseState
Modifier and Type | Field and Description |
---|---|
protected javax.servlet.http.HttpServletResponse |
response |
addedHeaders, byteOutputBuffer, characterEncoding, charOutputBuffer, closed, committed, contentLength, contentType, cookies, defaultLocale, errorCode, errorMessage, flushed, hasError, hasStatus, headElements, isActionResponse, isMimeResponse, isRenderResponse, isResourceResponse, isStateAwareResponse, locale, outputStream, preambleComments, preambleElements, printWriter, setContentTypeAfterEncoding, setHeaders, statusCode, wrapperElement
Constructor and Description |
---|
HstServletResponseState(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
protected void |
addResponseCookie(javax.servlet.http.Cookie cookie) |
protected void |
addResponseHeadElement(Element element,
String keyHint) |
protected void |
addResponseHeader(String name,
String value) |
Element |
createElement(String tagName) |
protected OutputStream |
getResponseOutputStream() |
protected PrintWriter |
getResponseWriter() |
protected void |
setResponseCharacterEncoding(String characterEncoding) |
protected void |
setResponseContentLength(int len) |
protected void |
setResponseContentType(String contentType) |
protected void |
setResponseHeader(String name,
String value) |
protected void |
setResponseLocale(Locale locale) |
protected void |
setResponseStatus(int status) |
addCookie, addDateHeader, addHeadElement, addHeader, addIntHeader, addPreambleNode, 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
public HstServletResponseState(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void setResponseLocale(Locale locale)
setResponseLocale
in class AbstractHstResponseState
protected void addResponseCookie(javax.servlet.http.Cookie cookie)
addResponseCookie
in class AbstractHstResponseState
protected void setResponseCharacterEncoding(String characterEncoding)
setResponseCharacterEncoding
in class AbstractHstResponseState
protected void setResponseContentType(String contentType)
setResponseContentType
in class AbstractHstResponseState
protected void addResponseHeader(String name, String value)
addResponseHeader
in class AbstractHstResponseState
protected void setResponseHeader(String name, String value)
setResponseHeader
in class AbstractHstResponseState
protected void addResponseHeadElement(Element element, String keyHint)
addResponseHeadElement
in class AbstractHstResponseState
protected void setResponseStatus(int status)
setResponseStatus
in class AbstractHstResponseState
protected void setResponseContentLength(int len)
setResponseContentLength
in class AbstractHstResponseState
protected OutputStream getResponseOutputStream() throws IOException
getResponseOutputStream
in class AbstractHstResponseState
IOException
protected PrintWriter getResponseWriter() throws IOException
getResponseWriter
in class AbstractHstResponseState
IOException
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.