CacheResponse
public final class ServletCacheResponse extends AbstractCacheResponse
Constructor | Description |
---|---|
ServletCacheResponse(javax.servlet.http.HttpServletResponse pResponse) |
Modifier and Type | Method | Description |
---|---|---|
void |
addHeader(String pHeaderName,
String pHeaderValue) |
|
OutputStream |
getOutputStream() |
|
void |
setHeader(String pHeaderName,
String pHeaderValue) |
|
void |
setStatus(int pStatusCode) |
getHeaders, getStatus
public ServletCacheResponse(javax.servlet.http.HttpServletResponse pResponse)
public OutputStream getOutputStream() throws IOException
IOException
public void setStatus(int pStatusCode)
setStatus
in interface CacheResponse
setStatus
in class AbstractCacheResponse
public void addHeader(String pHeaderName, String pHeaderValue)
addHeader
in interface CacheResponse
addHeader
in class AbstractCacheResponse
public void setHeader(String pHeaderName, String pHeaderValue)
setHeader
in interface CacheResponse
setHeader
in class AbstractCacheResponse
Copyright © 2018. All rights reserved.