@Override public void completed(final Map<String, Variant> variants) { if (variants != null && !variants.isEmpty() && (entityProducer == null || entityProducer.isRepeatable())) { negotiateResponseFromVariants(target, request, entityProducer, scope, chain, asyncExecCallback, variants); } else { callBackend(target, request, entityProducer, scope, chain, asyncExecCallback); } }
&& (entityProducer == null || entityProducer.isRepeatable())) {
@Override public boolean isRepeatable() { return dataProducer == null || dataProducer.isRepeatable(); }
@Override public boolean isRepeatable() { return entityProducer == null || entityProducer.isRepeatable(); }
@Override public boolean isRepeatable() { return entityProducer == null || entityProducer.isRepeatable(); }
@Override public boolean isRepeatable() { return dataProducer == null || dataProducer.isRepeatable(); }
@Override public boolean isRepeatable() { return wrapped.isRepeatable(); }
@Override public boolean isRepeatable() { return wrapped.isRepeatable(); }
@Override public void completed(final Map<String, Variant> variants) { if (variants != null && !variants.isEmpty() && (entityProducer == null || entityProducer.isRepeatable())) { negotiateResponseFromVariants(target, request, entityProducer, scope, chain, asyncExecCallback, variants); } else { callBackend(target, request, entityProducer, scope, chain, asyncExecCallback); } }
final HttpRoute route = scope.route; final HttpClientContext clientContext = scope.clientContext; if (entityProducer != null && !entityProducer.isRepeatable()) { log.debug("Cannot retry non-repeatable request"); } else if (retryHandler.retryRequest(request, (IOException) cause, execCount, clientContext)) {
@Override public void completed() { if (state.redirectURI == null) { asyncExecCallback.completed(); } else { final AsyncEntityProducer entityProducer = state.currentEntityProducer; if (entityProducer != null && !entityProducer.isRepeatable()) { log.debug("Cannot redirect non-repeatable request"); asyncExecCallback.completed(); } else { try { if (state.reroute) { scope.execRuntime.releaseEndpoint(); } internalExecute(state, chain, asyncExecCallback); } catch (final IOException | HttpException ex) { asyncExecCallback.failed(ex); } } } }
if (entityProducer != null && !entityProducer.isRepeatable()) { log.debug("Cannot retry non-repeatable request"); asyncExecCallback.completed();
&& (entityProducer == null || entityProducer.isRepeatable())) {