| Package | Description |
|---|---|
| won.protocol.rest |
| Modifier and Type | Method and Description |
|---|---|
static WonEtagHelper |
WonEtagHelper.forVersion(java.lang.String version) |
static WonEtagHelper |
WonEtagHelper.fromEtagHeader(org.springframework.http.HttpHeaders headers) |
static WonEtagHelper |
WonEtagHelper.fromEtagValue(java.lang.String etagValue)
Returns a WonEtagHelper if the specified string is a valid ETAG, combining
[VERSION] {[DELIMITER] [MEDIA-TYPE]} (curly brackets inticate 'optional')
Returns null if the specified etagValue is null or not valid.
|
static WonEtagHelper |
WonEtagHelper.fromHeaderIfCompatibleWithAcceptHeader(org.springframework.http.HttpHeaders headers)
Returns a new WonEtagHelper object created from the specified headers if
there is an ETAG header and the value parsed for the mediatype is actually
compatible with the mediatypes listed in the accept header.
|
static WonEtagHelper |
WonEtagHelper.fromIfNoneMatchHeader(org.springframework.http.HttpHeaders headers) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
WonEtagHelper.getVersionIdentifier(WonEtagHelper wonEtagHelper) |
static void |
WonEtagHelper.setEtagHeader(WonEtagHelper wonEtagHelper,
org.springframework.http.HttpHeaders headers) |
Copyright © 2019. All Rights Reserved.