final String stubType = uriFragments[urlFragmentsLength - 2];
if (REGEX_NUMERIC.matcher(stubType).matches()) {
final int sequencedResponseId = Integer.parseInt(stubType);
final int stubHttpCycleIndex = Integer.parseInt(uriFragments[urlFragmentsLength - 4]);
final StubHttpLifecycle foundStubHttpLifecycle = throwErrorOnNonexistentResourceIndex(wrapper, stubHttpCycleIndex);
renderAjaxResponseContent(wrapper, sequencedResponseId, targetFieldName, foundStubHttpLifecycle);
} else {
final int stubHttpCycleIndex = Integer.parseInt(uriFragments[urlFragmentsLength - 3]);
final StubHttpLifecycle foundStubHttpLifecycle = throwErrorOnNonexistentResourceIndex(wrapper, stubHttpCycleIndex);
if (REGEX_REQUEST.matcher(stubType).matches()) {
renderAjaxResponseContent(wrapper, StubTypes.REQUEST, targetFieldName, foundStubHttpLifecycle);
} else if (REGEX_RESPONSE.matcher(stubType).matches()) {
renderAjaxResponseContent(wrapper, StubTypes.RESPONSE, targetFieldName, foundStubHttpLifecycle);
} else if (REGEX_HTTPLIFECYCLE.matcher(stubType).matches()) {