@Target(value=METHOD) @Retention(value=RUNTIME) @HttpMethod(value="GET") public @interface GET
HttpMethod| Modifier and Type | Optional Element and Description |
|---|---|
GET.CacheControl |
cacheControl
The type of cache that can be used to store the response.
|
int |
cacheTime
The number of seconds, starting from current time, that the response can be maintained in client caches
|
boolean |
mustRevalidate
When the must-revalidate directive is present in a response received by a cache, that cache MUST NOT
use the entry after it becomes stale to respond to a subsequent request without first revalidating it
with the origin server.
|
boolean |
noTransform
This implies that the cache or proxy MUST NOT change any aspect of the entity-body that is specified by
these headers, including the value of the entity-body itself.
|
boolean |
proxyRevalidate
The proxy-revalidate directive has the same meaning as the must-revalidate directive, except that it
does not apply to non-shared user agent caches.
|
public abstract int cacheTime
public abstract boolean noTransform
public abstract boolean mustRevalidate
public abstract boolean proxyRevalidate
public abstract GET.CacheControl cacheControl
Copyright © 2016. All rights reserved.