@SuppressWarnings("unchecked")
@Override
public MfClientHttpRequestFactory createFactoryWrapper(final Values values,
final MfClientHttpRequestFactory requestFactory) {
MfClientHttpRequestFactory finalRequestFactory = requestFactory;
// apply the parts in reverse so that the last part is the inner most wrapper (will be last to be called)
for (int i = this.httpProcessors.size() - 1; i > -1; i--) {
final HttpProcessor processor = this.httpProcessors.get(i);
Object input = ProcessorUtils.populateInputParameter(processor, values);
finalRequestFactory = processor.createFactoryWrapper(input, finalRequestFactory);