I'm creating my first Java Spring application at the moment. Part of it needs to request xml data from another url on a scheduled period; which I have managed to implement fine. Though obviously I only want to update data if there is a change to the data I'm requesting.
The URL I'm requesting is another Java app with a RESTEasy end-point which makes use of e-tags. I've searched around, though can't seem to find an example of how I would check the e-tag before parsing the xml result.
Can anyone suggest how I could do this?
TIA