Zachary Hatton пре 9 година
родитељ
комит
61fda84b16
1 измењених фајлова са 6 додато и 4 уклоњено
  1. 6 4
      app/src/main/java/com/example/yiupang/freefoodfinder/HttpCall.java

+ 6 - 4
app/src/main/java/com/example/yiupang/freefoodfinder/HttpCall.java

@@ -12,6 +12,11 @@ import java.util.Map;
 
 class HttpCall
 {
+    private String url;
+    private int methodType;
+    private JsonNode body;
+    private Map<String, String> query;
+
     static final int GET = 1;
     static final int POST = 2;
     static final int PUT = 3;
@@ -40,10 +45,7 @@ class HttpCall
         }
     }
 
-    private String url;
-    private int methodType;
-    private JsonNode body;
-    private Map<String, String> query;
+
 
     public String getUrl() {
         return url;