liulingling.177216
2024-08-26 349f1cfc5fa77fbc636d542df0d8050fddec48c2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.dingzhuo.energy.project.common;
 
import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;
 
import java.net.URI;
 
/**
 * @Description: TODO
 * @author: yxw
 * @date: 2022年03月18日 18:23
 */
public class HttpGetWithEntity extends HttpEntityEnclosingRequestBase {
    public final static String METHOD_NAME = "GET";
 
    public HttpGetWithEntity() {
        super();
    }
 
    public HttpGetWithEntity(final URI uri) {
        super();
        setURI(uri);
    }
 
    public HttpGetWithEntity(final String uri) {
        super();
        setURI(URI.create(uri));
    }
 
    @Override
    public String getMethod() {
        // TODO Auto-generated method stub
        return METHOD_NAME;
    }
}