|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.rest.EntityMetadata
public class EntityMetadata
Wrapper around MultivaluedMetadata. For easer access to most used entity descriptor.
| Constructor Summary | |
|---|---|
EntityMetadata(MultivaluedMetadata headers)
Constructor for EntityMetadata. |
|
| Method Summary | |
|---|---|
String |
getCacheControl()
The HTTP Cache-Control response header. |
String |
getContentLocation()
The Content-Location entity-header field MAY be used to supply the resource location for the entity enclosed in the message when that entity is accessible from a location separate from the requested resource's URI. |
String |
getEncodings()
The Content-Encoding entity-header field is used as a modifier to the media-type. |
String |
getLanguages()
The Content-Language entity-header field describes the natural language(s) of the intended audience for the enclosed entity. |
String |
getLastModified()
The Last-Modified entity-header field indicates the date and time at which the origin server believes the variant was last modified. |
int |
getLength()
The Content-Length entity-header field indicates the size of the entity-body, in decimal number of OCTETs, sent to the recipient or, in the case of the HEAD method, the size of the entity-body that would have been sent had the request been a GET. |
String |
getMediaType()
The Content-Type entity-header field indicates the media type of the entity-body sent to the recipient or, in the case of the HEAD method, the media type that would have been sent had the request been a GET. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityMetadata(MultivaluedMetadata headers)
headers - MultivaluedMetadata object with HTTP headers.| Method Detail |
|---|
public String getContentLocation()
public String getEncodings()
public String getLanguages()
public String getLastModified()
public int getLength()
public String getMediaType()
public String getCacheControl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||