Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class GXObjectProperties
private String errorMessage = "";
private int errorCode = 0;
private int statusCode = 0;
private String protocol = "REST";
private int protocol = 1;

public Location getLocation()
{
Expand Down Expand Up @@ -46,11 +46,11 @@ public void setErrorMessage(String value)
errorMessage = value;
}

public String getProtocol()
public int getProtocol()
{
return protocol;
}
public void setProtocol(String value)
public void setProtocol(int value)
{
protocol = value;
}
Expand Down
6 changes: 3 additions & 3 deletions java/src/main/java/com/genexus/internet/GXRestAPIClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class GXRestAPIClient {

private String name;
private Location location;
private String protocol = "REST";
private int protocol = 1;
private String httpMethod = "GET";
private int statusCode;
private int errorCode;
Expand Down Expand Up @@ -74,7 +74,7 @@ public Location getLocation() {
return location;
}

public String getProtocol() {
public int getProtocol() {
return protocol;
}

Expand Down Expand Up @@ -104,7 +104,7 @@ public void setLocation( Location value) {
location = value;
}

public void setProtocol( String value) {
public void setProtocol( int value) {
protocol = value;
}

Expand Down