com.jd.httpservice.agent.RequestBodyResolverComposite Maven / Gradle / Ivy
package com.jd.httpservice.agent;
import java.io.OutputStream;
import java.util.LinkedList;
import java.util.List;
class RequestBodyResolverComposite implements RequestBodyResolver {
private List resolverList = new LinkedList();
@Override
public void resolve(Object[] args, OutputStream out) {
for (RequestBodyResolver resolver : resolverList) {
resolver.resolve(args, out);
}
}
public void addRequestBodyResolver(RequestBodyResolver resolver) {
resolverList.add(resolver);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy