|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shindig.gadgets.http.NoOpInvalidationService
public class NoOpInvalidationService
No-Op implementation of the invalidation service
| Field Summary |
|---|
| Fields inherited from interface org.apache.shindig.gadgets.http.InvalidationService |
|---|
INVALIDATION_HEADER |
| Constructor Summary | |
|---|---|
NoOpInvalidationService()
|
|
| Method Summary | |
|---|---|
void |
invalidateApplicationResources(Set<Uri> uris,
SecurityToken token)
Invalidate a set of cached resources that are part of the application specification itself. |
void |
invalidateUserResources(Set<String> opensocialIds,
SecurityToken token)
Invalidate all cached resources where the specified user ids were used as either the owner or viewer id when a signed or OAuth request was made for the content by the application identified in the security token. |
boolean |
isValid(HttpRequest request,
HttpResponse response)
Is the specified HttpResponse still valid. |
HttpResponse |
markResponse(HttpRequest request,
HttpResponse response)
Mark the HttpResponse prior to caching it so that subsequent calls to isValid can detect if it has been invalidated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoOpInvalidationService()
| Method Detail |
|---|
public void invalidateApplicationResources(Set<Uri> uris,
SecurityToken token)
InvalidationService
invalidateApplicationResources in interface InvalidationServiceuris - of content to invalidatetoken - identifying the calling application
public void invalidateUserResources(Set<String> opensocialIds,
SecurityToken token)
InvalidationService
invalidateUserResources in interface InvalidationServiceopensocialIds - Set of user ids to invalidate authenticated/signed content fortoken - identifying the calling application
public boolean isValid(HttpRequest request,
HttpResponse response)
InvalidationService
isValid in interface InvalidationService
public HttpResponse markResponse(HttpRequest request,
HttpResponse response)
InvalidationService
markResponse in interface InvalidationService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||