com.xingyuv.http.support.SimpleHttpResponse Maven / Gradle / Ivy
package com.xingyuv.http.support;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
import java.util.Map;
/**
*
* 响应封装
*
*
* @author zhihai.yu
* @date Created in 2021/09/10 20:24
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SimpleHttpResponse {
private boolean success;
private int code;
private Map> headers;
private String body;
private String error;
}