public static interface HttpHeaderUtils.HttpResource
HttpServletRequest
and eventually needs to be updatedModifier and Type | Method and Description |
---|---|
String |
getContentType()
Returns the content-type for this resource
|
byte[] |
getData()
retrieves the data of this resource
|
boolean |
needsUpdate()
whether or not this resource has been updated during
update() |
long |
update()
updates this resource if necessary and returns the latest version
|
long update() throws IOException
IOException
- if an error occurs while updatingString getContentType()
boolean needsUpdate()
update()
true
if this resource has been updatedupdate()
byte[] getData() throws IOException
IOException
- if an error occurs while retrieving the dataCopyright © 2011–2017 aiticon GmbH. All rights reserved.