Class RequestContextWrapper

    • Constructor Detail

      • RequestContextWrapper

        public RequestContextWrapper​(RequestContext request)
        Deprecated.
    • Method Detail

      • getAbdera

        public org.apache.abdera.Abdera getAbdera()
        Deprecated.
        Description copied from interface: RequestContext
        Get the Abdera instance associated with this request
        Specified by:
        getAbdera in interface RequestContext
      • getBaseUri

        public org.apache.abdera.i18n.iri.IRI getBaseUri()
        Deprecated.
        Description copied from interface: RequestContext
        Get the absolute base URI ... this is the request URI up to the Context Path of the web application within which the Abdera Servlet is deployed
        Specified by:
        getBaseUri in interface RequestContext
      • getDocument

        public <T extends org.apache.abdera.model.Element> org.apache.abdera.model.Document<T> getDocument()
                                                                                                    throws org.apache.abdera.parser.ParseException,
                                                                                                           IOException
        Deprecated.
        Description copied from interface: RequestContext
        Use the Abdera Parser to parse the request entity as an XML document
        Specified by:
        getDocument in interface RequestContext
        Throws:
        org.apache.abdera.parser.ParseException
        IOException
      • getDocument

        public <T extends org.apache.abdera.model.Element> org.apache.abdera.model.Document<T> getDocument​(org.apache.abdera.parser.Parser parser)
                                                                                                    throws org.apache.abdera.parser.ParseException,
                                                                                                           IOException
        Deprecated.
        Description copied from interface: RequestContext
        Use the Abdera Parser to parse the request entity as an XML document
        Specified by:
        getDocument in interface RequestContext
        Throws:
        org.apache.abdera.parser.ParseException
        IOException
      • getDocument

        public <T extends org.apache.abdera.model.Element> org.apache.abdera.model.Document<T> getDocument​(org.apache.abdera.parser.Parser parser,
                                                                                                           org.apache.abdera.parser.ParserOptions options)
                                                                                                    throws org.apache.abdera.parser.ParseException,
                                                                                                           IOException
        Deprecated.
        Description copied from interface: RequestContext
        Use the Abdera Parser to parse the request entity as an XML document
        Specified by:
        getDocument in interface RequestContext
        Throws:
        org.apache.abdera.parser.ParseException
        IOException
      • getDocument

        public <T extends org.apache.abdera.model.Element> org.apache.abdera.model.Document<T> getDocument​(org.apache.abdera.parser.ParserOptions options)
                                                                                                    throws org.apache.abdera.parser.ParseException,
                                                                                                           IOException
        Deprecated.
        Description copied from interface: RequestContext
        Use the Abdera Parser to parse the request entity as an XML document
        Specified by:
        getDocument in interface RequestContext
        Throws:
        org.apache.abdera.parser.ParseException
        IOException
      • getPreferredLocales

        public Locale[] getPreferredLocales()
        Deprecated.
        Description copied from interface: RequestContext
        Get a listing of the client's preferred locales as specified in the request. The listing will be sorted in order of preference.
        Specified by:
        getPreferredLocales in interface RequestContext
      • getResolvedUri

        public org.apache.abdera.i18n.iri.IRI getResolvedUri()
        Deprecated.
        Description copied from interface: RequestContext
        Get the absolute request URI (includes server name, port, etc)
        Specified by:
        getResolvedUri in interface RequestContext
      • getTargetPath

        public String getTargetPath()
        Deprecated.
        Description copied from interface: RequestContext
        Returns the subset of the request URI that is to be used to resolve the Target (everything after the context path)
        Specified by:
        getTargetPath in interface RequestContext
      • getUri

        public org.apache.abdera.i18n.iri.IRI getUri()
        Deprecated.
        Description copied from interface: RequestContext
        Get the request URI
        Specified by:
        getUri in interface RequestContext
      • isUserInRole

        public boolean isUserInRole​(String role)
        Deprecated.
        Description copied from interface: RequestContext
        Check to see if the authenticated user is in the specified role
        Specified by:
        isUserInRole in interface RequestContext
      • getAccept

        public String getAccept()
        Deprecated.
        Description copied from interface: Request
        Get the value of the Accept header
        Specified by:
        getAccept in interface Request
      • getAcceptCharset

        public String getAcceptCharset()
        Deprecated.
        Description copied from interface: Request
        Get the value of the Accept-Charset header
        Specified by:
        getAcceptCharset in interface Request
      • getAcceptEncoding

        public String getAcceptEncoding()
        Deprecated.
        Description copied from interface: Request
        Get the value of the Accept-Encoding header
        Specified by:
        getAcceptEncoding in interface Request
      • getAcceptLanguage

        public String getAcceptLanguage()
        Deprecated.
        Description copied from interface: Request
        Get the value of the Accept-Language header
        Specified by:
        getAcceptLanguage in interface Request
      • getAuthorization

        public String getAuthorization()
        Deprecated.
        Description copied from interface: Request
        Get the value of the Authorization header
        Specified by:
        getAuthorization in interface Request
      • getIfMatch

        public org.apache.abdera.util.EntityTag[] getIfMatch()
        Deprecated.
        Description copied from interface: Request
        Get a listing of Etags from the If-Match header
        Specified by:
        getIfMatch in interface Request
      • getIfModifiedSince

        public Date getIfModifiedSince()
        Deprecated.
        Description copied from interface: Request
        Get the value of the If-Modified-Since header
        Specified by:
        getIfModifiedSince in interface Request
      • getIfNoneMatch

        public org.apache.abdera.util.EntityTag[] getIfNoneMatch()
        Deprecated.
        Description copied from interface: Request
        Get a listing of ETags from the If-None-Match header
        Specified by:
        getIfNoneMatch in interface Request
      • getIfUnmodifiedSince

        public Date getIfUnmodifiedSince()
        Deprecated.
        Description copied from interface: Request
        Get the value of the If-Unmodified-Since header
        Specified by:
        getIfUnmodifiedSince in interface Request
      • getMaxStale

        public long getMaxStale()
        Deprecated.
        Description copied from interface: Request
        Get the max-stale value from the Cache-Control header
        Specified by:
        getMaxStale in interface Request
      • getMinFresh

        public long getMinFresh()
        Deprecated.
        Description copied from interface: Request
        Get the min-fresh value from the Cache-Control header
        Specified by:
        getMinFresh in interface Request
      • isOnlyIfCached

        public boolean isOnlyIfCached()
        Deprecated.
        Description copied from interface: Request
        True if the only-if-cached directive is set in the Cache-Control header
        Specified by:
        isOnlyIfCached in interface Request
      • getCacheControl

        public String getCacheControl()
        Deprecated.
        Description copied from interface: Message
        Return the value of the Cache-Control header
        Specified by:
        getCacheControl in interface Message
      • getContentLanguage

        public String getContentLanguage()
        Deprecated.
        Description copied from interface: Message
        Return the value of the Content-Language header
        Specified by:
        getContentLanguage in interface Message
      • getContentLocation

        public org.apache.abdera.i18n.iri.IRI getContentLocation()
        Deprecated.
        Description copied from interface: Message
        Return the value of the Content-Location header
        Specified by:
        getContentLocation in interface Message
      • getContentType

        public MimeType getContentType()
        Deprecated.
        Description copied from interface: Message
        Return the value of the Content-Type header
        Specified by:
        getContentType in interface Message
      • getDateHeader

        public Date getDateHeader​(String name)
        Deprecated.
        Description copied from interface: Message
        Return the value of a Date header
        Specified by:
        getDateHeader in interface Message
      • getDecodedHeader

        public String getDecodedHeader​(String name)
        Deprecated.
        Description copied from interface: Message
        Get the decoded value of a RFC 2047 header
        Specified by:
        getDecodedHeader in interface Message
      • getDecodedHeaders

        public String[] getDecodedHeaders​(String name)
        Deprecated.
        Description copied from interface: Message
        Return multiple decoded values for the specified header
        Specified by:
        getDecodedHeaders in interface Message
      • getHeader

        public String getHeader​(String name)
        Deprecated.
        Description copied from interface: Message
        Get the value of the specified header
        Specified by:
        getHeader in interface Message
      • getHeaderNames

        public String[] getHeaderNames()
        Deprecated.
        Description copied from interface: Message
        Return a listing of header names
        Specified by:
        getHeaderNames in interface Message
      • getHeaders

        public Object[] getHeaders​(String name)
        Deprecated.
        Description copied from interface: Message
        Return multiple values for the specified header
        Specified by:
        getHeaders in interface Message
      • getMaxAge

        public long getMaxAge()
        Deprecated.
        Description copied from interface: Message
        Return the maximum-age as specified by the Cache-Control header
        Specified by:
        getMaxAge in interface Message
      • getSlug

        public String getSlug()
        Deprecated.
        Description copied from interface: Message
        Return the value of the Slug header
        Specified by:
        getSlug in interface Message
      • isNoCache

        public boolean isNoCache()
        Deprecated.
        Description copied from interface: Message
        Return true if the Cache-Control header contains no-cache
        Specified by:
        isNoCache in interface Message
      • isNoStore

        public boolean isNoStore()
        Deprecated.
        Description copied from interface: Message
        Return true if the Cache-Control header contains no-store
        Specified by:
        isNoStore in interface Message
      • isNoTransform

        public boolean isNoTransform()
        Deprecated.
        Description copied from interface: Message
        Return true if the Cache-Control header contains no-transform
        Specified by:
        isNoTransform in interface Message
      • getTargetBasePath

        public String getTargetBasePath()
        Deprecated.
        Description copied from interface: RequestContext
        Returns the subset of the request URI that is the base of the target path (e.g. HttpServletRequest.getServletPath())
        Specified by:
        getTargetBasePath in interface RequestContext
        Returns:
      • absoluteUrlFor

        public String absoluteUrlFor​(Object key,
                                     Object param)
        Deprecated.
        Description copied from interface: RequestContext
        Construct an absolute URL using the Provider's Target Builder. Relative URL's are resolved against the base URI
        Specified by:
        absoluteUrlFor in interface RequestContext