Zachary Hatton 9 лет назад
Родитель
Сommit
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
 class HttpCall
 {
 {
+    private String url;
+    private int methodType;
+    private JsonNode body;
+    private Map<String, String> query;
+
     static final int GET = 1;
     static final int GET = 1;
     static final int POST = 2;
     static final int POST = 2;
     static final int PUT = 3;
     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() {
     public String getUrl() {
         return url;
         return url;