public enum VersionCheckResult
Represent result of the version comparison between content being sent and HTTP request.
| Enum Constant and Description |
|---|
NOT_MODIFIED
Indicates that content has not modified according to headers sent by client.
|
OK
Indicates that content needs to be sent to recipient.
|
PRECONDITION_FAILED
One or more conditions given in the request header fields evaluated to false.
|
| Modifier and Type | Method and Description |
|---|---|
HttpStatusCode |
getStatusCode()
represents
|
public static VersionCheckResult OK
Indicates that content needs to be sent to recipient.
public static VersionCheckResult NOT_MODIFIED
Indicates that content has not modified according to headers sent by client.
public static VersionCheckResult PRECONDITION_FAILED
One or more conditions given in the request header fields evaluated to false.
public HttpStatusCode getStatusCode()
represents
class HttpStatusCode associated with the result.
class HttpStatusCode