public abstract class CacheRequest extends Object
| 构造器 | 说明 |
|---|---|
CacheRequest() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
abstract void |
abort() |
Aborts the attempt to cache the response.
|
abstract OutputStream |
getBody() |
Returns an OutputStream to which the response body can be
written.
|
public abstract OutputStream getBody() throws IOException
IOException - if an I/O error occurs while
writing the response bodypublic abstract void abort()