|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Resource
Represents a disposable system resource used for handling cached response bodies.
| Method Summary | |
|---|---|
void |
dispose()
Indicates the system no longer needs to keep this response body and any system resources associated with it may be reclaimed. |
InputStream |
getInputStream()
Returns an InputStream from which the response
body can be read. |
long |
length()
Returns the length in bytes of the response body. |
| Method Detail |
|---|
InputStream getInputStream()
throws IOException
InputStream from which the response
body can be read.
IOExceptionlong length()
void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||