com.joker17.http.request.config.RequestBodyConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-request Show documentation
Show all versions of http-request Show documentation
对httpclient进行一定封装,使一些常规请求操作使用起来更简单
The newest version!
package com.joker17.http.request.config;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.ToString;
@Data
@ToString(callSuper = true)
public class RequestBodyConfig extends BaseRequestConfig {
@Setter(value = AccessLevel.NONE)
private String requestBody = null;
public T setRequestBody(String body) {
requestBody = body;
return (T) this;
}
}