io.github.wycst.wast.clients.http.definition.HttpClientRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wast Show documentation
Show all versions of wast Show documentation
Wast is a high-performance Java toolset library package that includes JSON, YAML, CSV, HttpClient, JDBC and EL engines
package io.github.wycst.wast.clients.http.definition;
import java.io.Serializable;
import java.net.URL;
import java.util.Map;
/**
* @Author: wangy
* @Date: 2020/7/2 16:38
* @Description:
*/
public interface HttpClientRequest {
public URL getURL();
public String getUri();
String getHost();
boolean isUseDefaultPort();
int getPort();
boolean isHttps();
public String getMethod();
public HttpClientConfig getHttpClientConfig();
public void setHeader(String name, Serializable value);
public void setHeaders(Map headers);
public void removeHeader(String name);
public boolean isKeepAliveOnTimeout();
}