|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface WebdavCommand.IfHandler
Callback handler to test the assertions made by the If
header. This interface is implemented by the resource provider.
Method Summary | |
---|---|
boolean |
containsETags(java.net.URI resource,
java.util.List<java.lang.String> eTags)
Checks if the resource contains the ETag |
boolean |
containsLockTokens(java.net.URI resource,
java.util.List<java.net.URI> lockTokens)
Checks if the resource contains the lock tokens |
void |
filterResources(java.util.Set<java.net.URI> aDst,
java.util.Set<java.net.URI> aSrc)
Populates the destination sets with the URIs of all resources that need to be tested against the If header. |
Method Detail |
---|
boolean containsETags(java.net.URI resource, java.util.List<java.lang.String> eTags) throws java.io.IOException
resource
- resource URI, not null
eTags
- the ETags, not null
nor empty
true
if all eTags are contained, else
false
java.io.IOException
boolean containsLockTokens(java.net.URI resource, java.util.List<java.net.URI> lockTokens) throws java.io.IOException
resource
- resource URI, not null
lockTokens
- the lock tokens, not null
nor empty
true
if all lock tokens are contained, else
false
java.io.IOException
void filterResources(java.util.Set<java.net.URI> aDst, java.util.Set<java.net.URI> aSrc) throws java.io.IOException
If
header. Implementors
may use the source set as a starting point, this set contains all
resources explicitly listed in the If
header
aDst
- target set, not null
aSrc
- read-only source set, not null
but may be
empty
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |