All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.nezha.httpfetch.convertor.ResponseGeneratorConvertor Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
package com.github.nezha.httpfetch.convertor;


import com.github.nezha.httpfetch.HttpApiMethodWrapper;
import com.github.nezha.httpfetch.HttpApiRequestParam;

import java.lang.reflect.Method;


/**
 * http响应结果处理接口
 * @author 11047530
 *
 */
public interface ResponseGeneratorConvertor {

	boolean supports(Method method, HttpApiMethodWrapper wrapper, HttpApiRequestParam param, Class responseCls);

	Object generate(Method method, HttpApiMethodWrapper wrapper, HttpApiRequestParam param, byte[] response, Class responseCls);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy