Class AbstractClientResponse

    • Method Detail

      • getDocument

        public <T extends org.apache.abdera.model.Element> org.apache.abdera.model.Document<T> getDocument()
                                                                                                    throws org.apache.abdera.parser.ParseException
        Deprecated.
        Get the response payload as a parsed Abdera FOM Document
        Specified by:
        getDocument in interface ClientResponse
        Throws:
        org.apache.abdera.parser.ParseException
      • 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
        Deprecated.
        Get the response payload as a parsed Abdera FOM Document using the specified parser options
        Specified by:
        getDocument in interface ClientResponse
        Parameters:
        options - The parser options
        Throws:
        org.apache.abdera.parser.ParseException
      • 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
        Deprecated.
        Get the response payload as a parsed Abdera FOM Document using the specified parser
        Specified by:
        getDocument in interface ClientResponse
        Parameters:
        parser - The parser
        Throws:
        org.apache.abdera.parser.ParseException
      • 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
        Deprecated.
        Get the response payload as a parsed Abdera FOM Document using the specified parser and parser options
        Specified by:
        getDocument in interface ClientResponse
        Parameters:
        parser - The parser
        options - The parser options
        Throws:
        org.apache.abdera.parser.ParseException
      • getServerDate

        public Date getServerDate()
        Deprecated.
        Return the date returned by the server in the response
        Specified by:
        getServerDate in interface ClientResponse
      • getCharacterEncoding

        public String getCharacterEncoding()
        Deprecated.
        Get the character set encoding specified by the server in the Content-Type header
        Specified by:
        getCharacterEncoding in interface ClientResponse
      • getDateHeader

        public Date getDateHeader​(String header)
        Deprecated.
        Return the named HTTP header as a java.util.Date
        Specified by:
        getDateHeader in interface Message