Interface ClientResponse

    • Method Detail

      • getMethod

        String getMethod()
        Deprecated.
        Return the request method
      • getUri

        String getUri()
        Deprecated.
        Return the request URI. The request was redirected, this will return the new URI
      • release

        void release()
        Deprecated.
        Release the resources associated with this response
      • getReader

        Reader getReader()
                  throws IOException
        Deprecated.
        Returns a reader used to read data from this response. Will use the character set declared in the Content-Type to create the reader
        Throws:
        IOException
      • getReader

        Reader getReader​(String charset)
                  throws IOException
        Deprecated.
        Returns a reader used to read data from this response. Will use the character set specified to create the reader
        Throws:
        IOException
      • setInputStream

        void setInputStream​(InputStream in)
        Deprecated.
      • getDocument

        <T extends org.apache.abdera.model.Element> org.apache.abdera.model.Document<T> getDocument()
                                                                                             throws org.apache.abdera.parser.ParseException
        Deprecated.
        If the response contains an XML document, parse the document
        Throws:
        org.apache.abdera.parser.ParseException
      • 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
        Deprecated.
        If the response contains an XML document, parse the document using the specified ParserOptions
        Throws:
        org.apache.abdera.parser.ParseException
      • 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
        Deprecated.
        If the response contains an XML document, parse the document using the specified Parser
        Throws:
        org.apache.abdera.parser.ParseException
      • 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
        Deprecated.
        If the response contains an XML document, parse the document using the specified Parser and ParserOptions
        Throws:
        org.apache.abdera.parser.ParseException
      • getServerDate

        Date getServerDate()
        Deprecated.
        Return the server-specified date returned in the response
      • getCharacterEncoding

        String getCharacterEncoding()
        Deprecated.
        Return the character set encoding specified in the ContentType header, if any