|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bradmcevoy.http.http11.DefaultETagGenerator
public class DefaultETagGenerator
Generates the ETag as follows: - if the resource has a null unique id, returns null - if the resource has a modified date it's hashcode is appended to the unique id - the result is returned
| Constructor Summary | |
|---|---|
DefaultETagGenerator()
|
|
| Method Summary | |
|---|---|
java.lang.String |
generateEtag(Resource r)
ETag's serve to identify a particular version of a particular resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultETagGenerator()
| Method Detail |
|---|
public java.lang.String generateEtag(Resource r)
ETagGenerator
generateEtag in interface ETagGeneratorr - - the resource to generate the ETag for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||