CacheResponse
ClientCacheResponse
, ServletCacheResponse
public abstract class AbstractCacheResponse extends Object implements CacheResponse
Constructor | Description |
---|---|
AbstractCacheResponse() |
Modifier and Type | Method | Description |
---|---|---|
void |
addHeader(String pHeaderName,
String pHeaderValue) |
|
Map<String,List<String>> |
getHeaders() |
|
int |
getStatus() |
|
void |
setHeader(String pHeaderName,
String pHeaderValue) |
|
void |
setStatus(int pStatusCode) |
getOutputStream
public int getStatus()
getStatus
in interface CacheResponse
public void setStatus(int pStatusCode)
setStatus
in interface CacheResponse
public void addHeader(String pHeaderName, String pHeaderValue)
addHeader
in interface CacheResponse
public void setHeader(String pHeaderName, String pHeaderValue)
setHeader
in interface CacheResponse
public Map<String,List<String>> getHeaders()
getHeaders
in interface CacheResponse
Copyright © 2018. All rights reserved.