Package org.apache.abdera.protocol.util
Class AbstractRequest
- java.lang.Object
-
- org.apache.abdera.protocol.util.AbstractMessage
-
- org.apache.abdera.protocol.util.AbstractRequest
-
- All Implemented Interfaces:
Message,Request,ProtocolConstants
- Direct Known Subclasses:
AbstractRequestContext,RequestOptions
@Deprecated public abstract class AbstractRequest extends AbstractMessage implements Request
Deprecated.
-
-
Field Summary
-
Fields inherited from interface org.apache.abdera.protocol.util.ProtocolConstants
NOCACHE, NOSTORE, NOTRANSFORM, ONLYIFCACHED, PRIVATE, PROXYREVALIDATE, PUBLIC, REVALIDATE
-
-
Constructor Summary
Constructors Constructor Description AbstractRequest()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetAccept()Deprecated.Get the value of the Accept headerStringgetAcceptCharset()Deprecated.Get the value of the Accept-Charset headerStringgetAcceptEncoding()Deprecated.Get the value of the Accept-Encoding headerStringgetAcceptLanguage()Deprecated.Get the value of the Accept-Language headerStringgetAuthorization()Deprecated.Get the value of the Authorization headerorg.apache.abdera.util.EntityTag[]getIfMatch()Deprecated.Get a listing of Etags from the If-Match headerDategetIfModifiedSince()Deprecated.Get the value of the If-Modified-Since headerorg.apache.abdera.util.EntityTag[]getIfNoneMatch()Deprecated.Get a listing of ETags from the If-None-Match headerDategetIfUnmodifiedSince()Deprecated.Get the value of the If-Unmodified-Since headerlonggetMaxStale()Deprecated.Get the max-stale value from the Cache-Control headerlonggetMinFresh()Deprecated.Get the min-fresh value from the Cache-Control headerbooleanisOnlyIfCached()Deprecated.True if the only-if-cached directive is set in the Cache-Control headerAbstractRequestsetMaxAge(long max_age)Deprecated.AbstractRequestsetMaxStale(long max_stale)Deprecated.AbstractRequestsetMinFresh(long min_fresh)Deprecated.AbstractRequestsetNoCache(boolean val)Deprecated.AbstractRequestsetNoStore(boolean val)Deprecated.AbstractRequestsetNoTransform(boolean val)Deprecated.AbstractRequestsetOnlyIfCached(boolean val)Deprecated.-
Methods inherited from class org.apache.abdera.protocol.util.AbstractMessage
getCacheControl, getContentLanguage, getContentLocation, getContentType, getDecodedHeader, getDecodedHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransform
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.abdera.protocol.Message
getCacheControl, getContentLanguage, getContentLocation, getContentType, getDateHeader, getDecodedHeader, getDecodedHeaders, getHeader, getHeaderNames, getHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransform
-
-
-
-
Method Detail
-
getAccept
public String getAccept()
Deprecated.Description copied from interface:RequestGet the value of the Accept header
-
getAcceptCharset
public String getAcceptCharset()
Deprecated.Description copied from interface:RequestGet the value of the Accept-Charset header- Specified by:
getAcceptCharsetin interfaceRequest
-
getAcceptEncoding
public String getAcceptEncoding()
Deprecated.Description copied from interface:RequestGet the value of the Accept-Encoding header- Specified by:
getAcceptEncodingin interfaceRequest
-
getAcceptLanguage
public String getAcceptLanguage()
Deprecated.Description copied from interface:RequestGet the value of the Accept-Language header- Specified by:
getAcceptLanguagein interfaceRequest
-
getAuthorization
public String getAuthorization()
Deprecated.Description copied from interface:RequestGet the value of the Authorization header- Specified by:
getAuthorizationin interfaceRequest
-
getIfMatch
public org.apache.abdera.util.EntityTag[] getIfMatch()
Deprecated.Description copied from interface:RequestGet a listing of Etags from the If-Match header- Specified by:
getIfMatchin interfaceRequest
-
getIfModifiedSince
public Date getIfModifiedSince()
Deprecated.Description copied from interface:RequestGet the value of the If-Modified-Since header- Specified by:
getIfModifiedSincein interfaceRequest
-
getIfNoneMatch
public org.apache.abdera.util.EntityTag[] getIfNoneMatch()
Deprecated.Description copied from interface:RequestGet a listing of ETags from the If-None-Match header- Specified by:
getIfNoneMatchin interfaceRequest
-
getIfUnmodifiedSince
public Date getIfUnmodifiedSince()
Deprecated.Description copied from interface:RequestGet the value of the If-Unmodified-Since header- Specified by:
getIfUnmodifiedSincein interfaceRequest
-
getMaxStale
public long getMaxStale()
Deprecated.Description copied from interface:RequestGet the max-stale value from the Cache-Control header- Specified by:
getMaxStalein interfaceRequest
-
getMinFresh
public long getMinFresh()
Deprecated.Description copied from interface:RequestGet the min-fresh value from the Cache-Control header- Specified by:
getMinFreshin interfaceRequest
-
isOnlyIfCached
public boolean isOnlyIfCached()
Deprecated.Description copied from interface:RequestTrue if the only-if-cached directive is set in the Cache-Control header- Specified by:
isOnlyIfCachedin interfaceRequest
-
setMaxAge
public AbstractRequest setMaxAge(long max_age)
Deprecated.
-
setMaxStale
public AbstractRequest setMaxStale(long max_stale)
Deprecated.
-
setMinFresh
public AbstractRequest setMinFresh(long min_fresh)
Deprecated.
-
setNoCache
public AbstractRequest setNoCache(boolean val)
Deprecated.
-
setNoStore
public AbstractRequest setNoStore(boolean val)
Deprecated.
-
setNoTransform
public AbstractRequest setNoTransform(boolean val)
Deprecated.
-
setOnlyIfCached
public AbstractRequest setOnlyIfCached(boolean val)
Deprecated.
-
-