|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientResponse
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.abdera.protocol.Response |
---|
Response.ResponseType |
Field Summary |
---|
Fields inherited from interface org.apache.abdera.protocol.util.ProtocolConstants |
---|
NOCACHE, NOSTORE, NOTRANSFORM, ONLYIFCACHED, PRIVATE, PROXYREVALIDATE, PUBLIC, REVALIDATE |
Method Summary | ||
---|---|---|
|
getDocument()
If the response contains an XML document, parse the document |
|
|
getDocument(Parser parser)
If the response contains an XML document, parse the document using the specified Parser |
|
|
getDocument(ParserOptions options)
If the response contains an XML document, parse the document using the specified ParserOptions |
|
|
getDocument(Parser 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.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)
|
Methods inherited from interface org.apache.abdera.protocol.Response |
---|
getAge, getAllow, getCacheControl, getContentLanguage, getContentLength, getContentLocation, getContentType, getDateHeader, getExpires, getHeader, getHeaderNames, getHeaders, getHeaders, getLastModified, getLocation, getMaxAge, getNoCacheHeaders, getPrivateHeaders, getSlug, getSMaxAge, getStatus, getStatusText, getType, getUriHeader, isMustRevalidate, isNoCache, isNoStore, isNoTransform, isPrivate, isProxyRevalidate, isPublic |
Methods inherited from interface org.apache.abdera.protocol.ResponseInfo |
---|
getEntityTag |
Method Detail |
---|
java.lang.String getMethod()
java.lang.String getUri()
void release()
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
void setInputStream(java.io.InputStream in)
<T extends Element> Document<T> getDocument() throws ParseException
ParseException
<T extends Element> Document<T> getDocument(ParserOptions options) throws ParseException
ParseException
<T extends Element> Document<T> getDocument(Parser parser) throws ParseException
ParseException
<T extends Element> Document<T> getDocument(Parser parser, ParserOptions options) throws ParseException
ParseException
java.util.Date getServerDate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |