Method
decode
(Response response, Type type)
Source from the content-addressed store, hash-verified
| 555 | .decoder( |
| 556 | new StringDecoder() { |
| 557 | @Override |
| 558 | public Object decode(Response response, Type type) throws IOException { |
| 559 | String string = super.decode(response, type).toString(); |
| 560 | if ("retry!".equals(string)) { |
| 561 | throw new RetryableException( |
| 562 | response.status(), |
| 563 | string, |
| 564 | HttpMethod.POST, |
| 565 | NON_RETRYABLE, |
| 566 | response.request()); |
| 567 | } |
| 568 | return string; |
| 569 | } |
| 570 | }) |
| 571 | .target("http://localhost:" + server.getPort()); |
| 572 | |
Callers
nothing calls this directly
Tested by
no test coverage detected