com.yy.httpproxy.serializer.RequestSerializer Maven / Gradle / Ivy
package com.yy.httpproxy.serializer;
import com.yy.httpproxy.requester.RequestException;
public interface RequestSerializer {
byte[] toBinary(Class clazz, Object body);
T toObject(Class clazz, byte[] body) throws RequestException;
}