@Component @ApplicationScoped public class DefaultRestDefaults extends java.lang.Object implements RestDefaults
Constructor and Description |
---|
DefaultRestDefaults() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEtagFor(HypermediaResource resource) |
java.util.Calendar |
getLastModifiedFor(HypermediaResource resource) |
public java.lang.String getEtagFor(HypermediaResource resource)
getEtagFor
in interface RestDefaults
public java.util.Calendar getLastModifiedFor(HypermediaResource resource)
getLastModifiedFor
in interface RestDefaults
Copyright © 2013 Caelum. All Rights Reserved.