File tree Expand file tree Collapse file tree
common/src/main/java/com/genexus/properties
java/src/main/java/com/genexus/internet Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ public class GXObjectProperties
88 private String errorMessage = "" ;
99 private int errorCode = 0 ;
1010 private int statusCode = 0 ;
11- private String protocol = "REST" ;
11+ private int protocol = 1 ;
1212
1313 public Location getLocation ()
1414 {
@@ -46,11 +46,11 @@ public void setErrorMessage(String value)
4646 errorMessage = value ;
4747 }
4848
49- public String getProtocol ()
49+ public int getProtocol ()
5050 {
5151 return protocol ;
5252 }
53- public void setProtocol (String value )
53+ public void setProtocol (int value )
5454 {
5555 protocol = value ;
5656 }
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public class GXRestAPIClient {
2525
2626 private String name ;
2727 private Location location ;
28- private String protocol = "REST" ;
28+ private int protocol = 1 ;
2929 private String httpMethod = "GET" ;
3030 private int statusCode ;
3131 private int errorCode ;
@@ -74,7 +74,7 @@ public Location getLocation() {
7474 return location ;
7575 }
7676
77- public String getProtocol () {
77+ public int getProtocol () {
7878 return protocol ;
7979 }
8080
@@ -104,7 +104,7 @@ public void setLocation( Location value) {
104104 location = value ;
105105 }
106106
107- public void setProtocol ( String value ) {
107+ public void setProtocol ( int value ) {
108108 protocol = value ;
109109 }
110110
You can’t perform that action at this time.
0 commit comments