public abstract class AbstractRequest extends AbstractMessage implements Request
NOCACHE, NOSTORE, NOTRANSFORM, ONLYIFCACHED, PRIVATE, PROXYREVALIDATE, PUBLIC, REVALIDATE| Constructor and Description |
|---|
AbstractRequest() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAccept()
Get the value of the Accept header
|
java.lang.String |
getAcceptCharset()
Get the value of the Accept-Charset header
|
java.lang.String |
getAcceptEncoding()
Get the value of the Accept-Encoding header
|
java.lang.String |
getAcceptLanguage()
Get the value of the Accept-Language header
|
java.lang.String |
getAuthorization()
Get the value of the Authorization header
|
EntityTag[] |
getIfMatch()
Get a listing of Etags from the If-Match header
|
java.util.Date |
getIfModifiedSince()
Get the value of the If-Modified-Since header
|
EntityTag[] |
getIfNoneMatch()
Get a listing of ETags from the If-None-Match header
|
java.util.Date |
getIfUnmodifiedSince()
Get the value of the If-Unmodified-Since header
|
long |
getMaxStale()
Get the max-stale value from the Cache-Control header
|
long |
getMinFresh()
Get the min-fresh value from the Cache-Control header
|
boolean |
isOnlyIfCached()
True if the only-if-cached directive is set in the Cache-Control header
|
AbstractRequest |
setMaxAge(long max_age) |
AbstractRequest |
setMaxStale(long max_stale) |
AbstractRequest |
setMinFresh(long min_fresh) |
AbstractRequest |
setNoCache(boolean val) |
AbstractRequest |
setNoStore(boolean val) |
AbstractRequest |
setNoTransform(boolean val) |
AbstractRequest |
setOnlyIfCached(boolean val) |
getCacheControl, getContentLanguage, getContentLocation, getContentType, getDecodedHeader, getDecodedHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransformequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCacheControl, getContentLanguage, getContentLocation, getContentType, getDateHeader, getDecodedHeader, getDecodedHeaders, getHeader, getHeaderNames, getHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransformpublic java.lang.String getAccept()
Requestpublic java.lang.String getAcceptCharset()
RequestgetAcceptCharset in interface Requestpublic java.lang.String getAcceptEncoding()
RequestgetAcceptEncoding in interface Requestpublic java.lang.String getAcceptLanguage()
RequestgetAcceptLanguage in interface Requestpublic java.lang.String getAuthorization()
RequestgetAuthorization in interface Requestpublic EntityTag[] getIfMatch()
RequestgetIfMatch in interface Requestpublic java.util.Date getIfModifiedSince()
RequestgetIfModifiedSince in interface Requestpublic EntityTag[] getIfNoneMatch()
RequestgetIfNoneMatch in interface Requestpublic java.util.Date getIfUnmodifiedSince()
RequestgetIfUnmodifiedSince in interface Requestpublic long getMaxStale()
RequestgetMaxStale in interface Requestpublic long getMinFresh()
RequestgetMinFresh in interface Requestpublic boolean isOnlyIfCached()
RequestisOnlyIfCached in interface Requestpublic AbstractRequest setMaxAge(long max_age)
public AbstractRequest setMaxStale(long max_stale)
public AbstractRequest setMinFresh(long min_fresh)
public AbstractRequest setNoCache(boolean val)
public AbstractRequest setNoStore(boolean val)
public AbstractRequest setNoTransform(boolean val)
public AbstractRequest setOnlyIfCached(boolean val)
Copyright © 2010 - 2020 Adobe. All Rights Reserved