com.github.nezha.httpfetch.spring.SpringReader Maven / Gradle / Ivy
package com.github.nezha.httpfetch.spring;
import com.github.nezha.httpfetch.SourceReader;
import com.github.nezha.httpfetch.convertor.ResponseGeneratorConvertor;
import com.github.nezha.httpfetch.chains.HttpApiChain;
import com.github.nezha.httpfetch.resolver.MethodParameterResolver;
import java.util.List;
import java.util.Map;
/**
* Created by daiqiang on 17/5/25.
*/
public class SpringReader implements SourceReader {
List chains;
List convertors;
List parameterResolvers;
Map urlAlias;
@Override
public List getChains() {
return chains;
}
public void setChains(List chains) {
this.chains = chains;
}
@Override
public List getConvertors() {
return convertors;
}
@Override
public List getParameterResolvers() {
return parameterResolvers;
}
@Override
public Map getUrlAlias() {
return urlAlias;
}
public void setConvertors(List convertors) {
this.convertors = convertors;
}
public void setParameterResolvers(List parameterResolvers) {
this.parameterResolvers = parameterResolvers;
}
public void setUrlAlias(Map urlAlias) {
this.urlAlias = urlAlias;
}
}