public class CacheableWebResponse extends Object implements Jsonable
Response
, capable to be stored in distributed cache
.Copyright © Enremmeta LLC 2015. All Rights Reserved.
Modifier and Type | Field and Description |
---|---|
private String |
entity |
private String |
mediaType |
private static long |
serialVersionUID |
Constructor and Description |
---|
CacheableWebResponse() |
CacheableWebResponse(javax.ws.rs.core.Response.ResponseBuilder rb) |
CacheableWebResponse(javax.ws.rs.core.Response response) |
CacheableWebResponse(String entity,
String mediaType) |
Modifier and Type | Method and Description |
---|---|
String |
getEntity() |
String |
getMediaType() |
javax.ws.rs.core.Response |
getResponse() |
void |
setEntity(String entity) |
void |
setMediaType(String mediaType) |
private static final long serialVersionUID
private String entity
private String mediaType