org.apache.abdera.protocol
Interface Request

All Superinterfaces:
Message, ProtocolConstants
All Known Subinterfaces:
RequestContext
All Known Implementing Classes:
AbstractRequest, AbstractRequestContext, RequestContextWrapper, RequestOptions, ServletRequestContext

public interface Request
extends Message

A protocol request. This is used as a base for both server and client requests


Field Summary
 
Fields inherited from interface org.apache.abdera.protocol.util.ProtocolConstants
NOCACHE, NOSTORE, NOTRANSFORM, ONLYIFCACHED, PRIVATE, PROXYREVALIDATE, PUBLIC, REVALIDATE
 
Method Summary
 String getAccept()
          Get the value of the Accept header
 String getAcceptCharset()
          Get the value of the Accept-Charset header
 String getAcceptEncoding()
          Get the value of the Accept-Encoding header
 String getAcceptLanguage()
          Get the value of the Accept-Language header
 String getAuthorization()
          Get the value of the Authorization header
 org.apache.abdera.util.EntityTag[] getIfMatch()
          Get a listing of Etags from the If-Match header
 Date getIfModifiedSince()
          Get the value of the If-Modified-Since header
 org.apache.abdera.util.EntityTag[] getIfNoneMatch()
          Get a listing of ETags from the If-None-Match header
 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
 
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

String getAccept()
Get the value of the Accept header


getAcceptCharset

String getAcceptCharset()
Get the value of the Accept-Charset header


getAcceptEncoding

String getAcceptEncoding()
Get the value of the Accept-Encoding header


getAcceptLanguage

String getAcceptLanguage()
Get the value of the Accept-Language header


getAuthorization

String getAuthorization()
Get the value of the Authorization header


getIfMatch

org.apache.abdera.util.EntityTag[] getIfMatch()
Get a listing of Etags from the If-Match header


getIfModifiedSince

Date getIfModifiedSince()
Get the value of the If-Modified-Since header


getIfNoneMatch

org.apache.abdera.util.EntityTag[] getIfNoneMatch()
Get a listing of ETags from the If-None-Match header


getIfUnmodifiedSince

Date getIfUnmodifiedSince()
Get the value of the If-Unmodified-Since header


getMaxStale

long getMaxStale()
Get the max-stale value from the Cache-Control header


getMinFresh

long getMinFresh()
Get the min-fresh value from the Cache-Control header


isOnlyIfCached

boolean isOnlyIfCached()
True if the only-if-cached directive is set in the Cache-Control header



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.