public interface CustomETagSupport extends OlingoExtension
Processors that would like to support etags for certain entity sets can implement this interface.
If implemented this interface can be registered at the ODataHttpHandler. This will result in change request to require an if-match/if-none-match or an if-modified-since/if-unmodified-since header. Otherwise the request will result in a "Precondition Required" response
Modifier and Type | Method and Description |
---|---|
boolean |
hasETag(EdmBindingTarget entitySetOrSingleton)
This method will be called for update requests which target an entity or a property of an entity.
|
boolean |
hasMediaETag(EdmBindingTarget entitySetOrSingleton)
This method will be called for update requests which target a media entity value.
|
boolean hasETag(EdmBindingTarget entitySetOrSingleton)
entitySetOrSingleton
- boolean hasMediaETag(EdmBindingTarget entitySetOrSingleton)
entitySetOrSingleton
- Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.