Reset the response to its initial state. @throws IllegalStateException if the response has already been committed
()
| 412 | * @throws IllegalStateException if the response has already been committed |
| 413 | */ |
| 414 | public void reset() throws IllegalStateException { |
| 415 | |
| 416 | if (committed) { |
| 417 | throw new IllegalStateException(); |
| 418 | } |
| 419 | |
| 420 | recycle(false); |
| 421 | } |
| 422 | |
| 423 | |
| 424 | // -------------------- Headers -------------------- |