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

com.github.puhiayang.bean.ClientRequest Maven / Gradle / Ivy

Go to download

support http/https proxy.类似于fiddler,由java编写,代码简单便于理解。支持http/https代理!

The newest version!
package com.github.puhiayang.bean;

import java.io.Serializable;

/**
 * 客户端请求
 *
 * @author puhaiyang
 * created on 2019/10/25 22:37
 */
public class ClientRequest implements Serializable {
    private String host;
    private int port;
    private boolean isHttps;


    public ClientRequest(String host, int port) {
        this.host = host;
        this.port = port;
    }

    public boolean isHttps() {
        return isHttps;
    }

    public void setHttps(boolean https) {
        isHttps = https;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy