Method
decode
(Response response, Type type)
Source from the content-addressed store, hash-verified
| 565 | .decoder( |
| 566 | new StringDecoder() { |
| 567 | @Override |
| 568 | public Object decode(Response response, Type type) throws IOException { |
| 569 | String string = super.decode(response, type).toString(); |
| 570 | if ("retry!".equals(string)) { |
| 571 | throw new RetryableException( |
| 572 | response.status(), |
| 573 | string, |
| 574 | HttpMethod.POST, |
| 575 | NON_RETRYABLE, |
| 576 | response.request()); |
| 577 | } |
| 578 | return string; |
| 579 | } |
| 580 | }) |
| 581 | .target("http://localhost:" + server.getPort()); |
| 582 | |
Callers
nothing calls this directly
Tested by
no test coverage detected