@Override protected Object retryInvoke(URI newRequestURI, MultivaluedMap<String, String> headers, Object body, Exchange exchange, Map<String, Object> invContext) throws Throwable { Map<String, Object> reqContext = CastUtils.cast((Map<?, ?>)invContext.get(REQUEST_CONTEXT)); int bodyIndex = body != null ? (Integer)reqContext.get(PROXY_METHOD_PARAM_BODY_INDEX) : -1; OperationResourceInfo ori = (OperationResourceInfo)reqContext.get(OperationResourceInfo.class.getName()); return doChainedInvocation(newRequestURI, headers, ori, null, body, bodyIndex, exchange, invContext); }
@Override protected Object retryInvoke(URI newRequestURI, MultivaluedMap<String, String> headers, Object body, Exchange exchange, Map<String, Object> invContext) throws Throwable { Map<String, Object> reqContext = CastUtils.cast((Map<?, ?>)invContext.get(REQUEST_CONTEXT)); int bodyIndex = body != null ? (Integer)reqContext.get(PROXY_METHOD_PARAM_BODY_INDEX) : -1; OperationResourceInfo ori = (OperationResourceInfo)reqContext.get(OperationResourceInfo.class.getName()); return doChainedInvocation(newRequestURI, headers, ori, null, body, bodyIndex, exchange, invContext); }
@Override protected Object retryInvoke(URI newRequestURI, MultivaluedMap<String, String> headers, Object body, Exchange exchange, Map<String, Object> invContext) throws Throwable { Map<String, Object> reqContext = CastUtils.cast((Map<?, ?>)invContext.get(REQUEST_CONTEXT)); int bodyIndex = body != null ? (Integer)reqContext.get("BODY_INDEX") : -1; OperationResourceInfo ori = (OperationResourceInfo)reqContext.get(OperationResourceInfo.class.getName()); return doChainedInvocation(newRequestURI, headers, ori, body, bodyIndex, exchange, invContext); }
return doChainedInvocation(uri, headers, ori, body, bodyIndex, null, null);
return doChainedInvocation(uri, headers, ori, params, body, bodyIndex, null, null); } finally { resetResponseStateImmediatelyIfNeeded();
return doChainedInvocation(uri, headers, ori, params, body, bodyIndex, null, null); } finally { resetResponseStateImmediatelyIfNeeded();