public class StResponse extends Object
Constructor and Description |
---|
StResponse() |
StResponse(javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
javax.servlet.http.Cookie |
addCookie(javax.servlet.http.Cookie cookie) |
javax.servlet.http.Cookie |
addCookie(String name,
String value) |
javax.servlet.http.Cookie |
addCookie(String name,
String value,
int maxAge) |
StResponse |
addHeader(String name,
String value) |
String |
getContentType() |
String |
getHeader(String name) |
javax.servlet.http.HttpServletResponse |
getHttpServletResponse() |
MetaInformation |
getMeta() |
javax.servlet.ServletOutputStream |
getOutputStream() |
PerPageLiterals |
getPageFooterLiterals() |
PerPageLiterals |
getPageHeadLiterals() |
SandboxedResponse |
getSandboxedResponse() |
int |
getStatus() |
PrintWriter |
getWriter() |
boolean |
isContentTypeSet() |
void |
setContentLength(int length) |
StResponse |
setContentType(String contentType) |
StResponse |
setDateHeader(String name,
Long value) |
StResponse |
setDefaultContentType(String contentType) |
void |
setMeta(MetaInformation meta) |
StResponse |
setStatus(int sc) |
public StResponse()
public StResponse(javax.servlet.http.HttpServletResponse response)
public javax.servlet.http.HttpServletResponse getHttpServletResponse()
public StResponse setDefaultContentType(String contentType)
public boolean isContentTypeSet()
public StResponse setContentType(String contentType)
public StResponse setStatus(int sc)
public int getStatus()
public PrintWriter getWriter() throws IOException
IOException
public StResponse addHeader(String name, String value)
public javax.servlet.ServletOutputStream getOutputStream() throws IOException
IOException
public StResponse setDateHeader(String name, Long value)
public void setContentLength(int length)
public String getContentType()
public javax.servlet.http.Cookie addCookie(javax.servlet.http.Cookie cookie)
public MetaInformation getMeta()
public void setMeta(MetaInformation meta)
public PerPageLiterals getPageFooterLiterals()
public PerPageLiterals getPageHeadLiterals()
public SandboxedResponse getSandboxedResponse()
Copyright © 2016. All rights reserved.