-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHttpRequest.java
45 lines (34 loc) · 893 Bytes
/
HttpRequest.java
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
35
36
37
38
39
40
41
42
43
44
45
package behavioral.cor;
public class HttpRequest {
private String url;
private String username;
private String password;
private String response;
private Integer responseCode;
public HttpRequest(String url, String username, String password) {
this.url = url;
this.username = username;
this.password = password;
}
public String getUrl() {
return url;
}
public String getUsername() {
return username;
}
public String getPassword() {
return password;
}
public String getResponse() {
return response;
}
public void setResponse(String response) {
this.response = response;
}
public Integer getResponseCode() {
return responseCode;
}
public void setResponseCode(Integer responseCode) {
this.responseCode = responseCode;
}
}