public interface ClientResponse extends Response
Response.ResponseTypeNOCACHE, NOSTORE, NOTRANSFORM, ONLYIFCACHED, PRIVATE, PROXYREVALIDATE, PUBLIC, REVALIDATE| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCharacterEncoding()
Return the character set encoding specified in the ContentType header, if any
|
<T extends Element> |
getDocument()
If the response contains an XML document, parse the document
|
<T extends Element> |
getDocument(org.apache.abdera.parser.Parser parser)
If the response contains an XML document, parse the document using the
specified Parser
|
<T extends Element> |
getDocument(org.apache.abdera.parser.ParserOptions options)
If the response contains an XML document, parse the document using the
specified ParserOptions
|
<T extends Element> |
getDocument(org.apache.abdera.parser.Parser parser,
org.apache.abdera.parser.ParserOptions options)
If the response contains an XML document, parse the document using the
specified Parser and ParserOptions
|
java.io.InputStream |
getInputStream()
Returns the inputstream used to read data from this response
|
java.lang.String |
getMethod()
Return the request method
|
java.io.Reader |
getReader()
Returns a reader used to read data from this response.
|
java.io.Reader |
getReader(java.lang.String charset)
Returns a reader used to read data from this response.
|
java.util.Date |
getServerDate()
Return the server-specified date returned in the response
|
java.lang.String |
getUri()
Return the request URI.
|
void |
release()
Release the resources associated with this response
|
void |
setInputStream(java.io.InputStream in) |
getAge, getAllow, getContentLength, getEntityTag, getExpires, getLastModified, getLocation, getNoCacheHeaders, getPrivateHeaders, getSMaxAge, getStatus, getStatusText, getType, isMustRevalidate, isPrivate, isProxyRevalidate, isPublicgetCacheControl, getContentLanguage, getContentLocation, getContentType, getDateHeader, getDecodedHeader, getDecodedHeaders, getHeader, getHeaderNames, getHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransformjava.lang.String getMethod()
java.lang.String getUri()
void release()
java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionjava.io.Reader getReader()
throws java.io.IOException
java.io.IOExceptionjava.io.Reader getReader(java.lang.String charset)
throws java.io.IOException
java.io.IOExceptionvoid setInputStream(java.io.InputStream in)
<T extends Element> Document<T> getDocument() throws org.apache.abdera.parser.ParseException
org.apache.abdera.parser.ParseException<T extends Element> Document<T> getDocument(org.apache.abdera.parser.ParserOptions options) throws org.apache.abdera.parser.ParseException
org.apache.abdera.parser.ParseException<T extends Element> Document<T> getDocument(org.apache.abdera.parser.Parser parser) throws org.apache.abdera.parser.ParseException
org.apache.abdera.parser.ParseException<T extends Element> Document<T> getDocument(org.apache.abdera.parser.Parser parser, org.apache.abdera.parser.ParserOptions options) throws org.apache.abdera.parser.ParseException
org.apache.abdera.parser.ParseExceptionjava.util.Date getServerDate()
java.lang.String getCharacterEncoding()
Copyright © 2010 - 2020 Adobe. All Rights Reserved