Interface RequestContext

    • Method Detail

      • getAbdera

        org.apache.abdera.Abdera getAbdera()
        Deprecated.
        Get the Abdera instance associated with this request
      • getProvider

        Provider getProvider()
        Deprecated.
        Get the Provider associated with this request
      • getTarget

        Target getTarget()
        Deprecated.
        Get this requests resolved Target
      • getSubject

        Subject getSubject()
        Deprecated.
        Get this requests resolved Subject
      • getPrincipal

        Principal getPrincipal()
        Deprecated.
        Get this requests authenticated Principal object
      • getPreferredLocale

        Locale getPreferredLocale()
        Deprecated.
        Get the client's preferred locale as specified in the request
      • getPreferredLocales

        Locale[] getPreferredLocales()
        Deprecated.
        Get a listing of the client's preferred locales as specified in the request. The listing will be sorted in order of preference.
      • getMethod

        String getMethod()
        Deprecated.
        Get the HTTP method
      • getUri

        org.apache.abdera.i18n.iri.IRI getUri()
        Deprecated.
        Get the request URI
      • getResolvedUri

        org.apache.abdera.i18n.iri.IRI getResolvedUri()
        Deprecated.
        Get the absolute request URI (includes server name, port, etc)
      • getBaseUri

        org.apache.abdera.i18n.iri.IRI getBaseUri()
        Deprecated.
        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
      • getParameter

        String getParameter​(String name)
        Deprecated.
        Get the specified request parameter
      • getParameterNames

        String[] getParameterNames()
        Deprecated.
        Return the listing of parameter names
      • getParameters

        List<String> getParameters​(String name)
        Deprecated.
        Return all the values for the specified parameter
      • getAttributeNames

        String[] getAttributeNames​(RequestContext.Scope scope)
        Deprecated.
        Return the list of attribute names in the specified scope
      • setAttribute

        RequestContext setAttribute​(String name,
                                    Object value)
        Deprecated.
        Set the named attribute in the request scope
      • setAttribute

        RequestContext setAttribute​(RequestContext.Scope scope,
                                    String name,
                                    Object value)
        Deprecated.
        Set the named attribute in the specified scope. If Session scope is specific, a new session will be created if one does not already exist
      • getDocument

        <T extends org.apache.abdera.model.Element> org.apache.abdera.model.Document<T> getDocument()
                                                                                             throws org.apache.abdera.parser.ParseException,
                                                                                                    IOException
        Deprecated.
        Use the Abdera Parser to parse the request entity as an XML document
        Throws:
        org.apache.abdera.parser.ParseException
        IOException
      • getDocument

        <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.
        Use the Abdera Parser to parse the request entity as an XML document
        Throws:
        org.apache.abdera.parser.ParseException
        IOException
      • getDocument

        <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.
        Use the Abdera Parser to parse the request entity as an XML document
        Throws:
        org.apache.abdera.parser.ParseException
        IOException
      • getDocument

        <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.
        Use the Abdera Parser to parse the request entity as an XML document
        Throws:
        org.apache.abdera.parser.ParseException
        IOException
      • isUserInRole

        boolean isUserInRole​(String role)
        Deprecated.
        Check to see if the authenticated user is in the specified role
      • getContextPath

        String getContextPath()
        Deprecated.
        Return the web applications context path
      • getTargetPath

        String getTargetPath()
        Deprecated.
        Returns the subset of the request URI that is to be used to resolve the Target (everything after the context path)
      • getTargetBasePath

        String getTargetBasePath()
        Deprecated.
        Returns the subset of the request URI that is the base of the target path (e.g. HttpServletRequest.getServletPath())
        Returns:
      • urlFor

        String urlFor​(Object key,
                      Object param)
        Deprecated.
        Construct a URL using the Provider's Target Builder
      • absoluteUrlFor

        String absoluteUrlFor​(Object key,
                              Object param)
        Deprecated.
        Construct an absolute URL using the Provider's Target Builder. Relative URL's are resolved against the base URI
      • isAtom

        boolean isAtom()
        Deprecated.