Procházet zdrojové kódy

HttpCall desmelled

Zachary Hatton před 9 roky
rodič
revize
61fda84b16

+ 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;