OSDN Git Service

SimpleHttpClientを a01d と同期させた。
authorMRSa <mrsa@myad.jp>
Tue, 21 Jan 2020 14:44:22 +0000 (23:44 +0900)
committerMRSa <mrsa@myad.jp>
Tue, 21 Jan 2020 14:44:22 +0000 (23:44 +0900)
app/src/main/java/net/osdn/gokigen/pkremote/camera/utils/SimpleHttpClient.java

index d73ce3e..43f95c9 100644 (file)
@@ -522,6 +522,16 @@ public class SimpleHttpClient
      *
      *
      */
+    public static String httpOptions(String url, String optionsData, int timeoutMs)
+    {
+        return (httpCommand(url, "OPTIONS", optionsData, null, null, timeoutMs));
+    }
+
+    /**
+     *
+     *
+     *
+     */
     private static String httpCommand(String url, String requestMethod, String postData, Map<String, String> setProperty, String contentType, int timeoutMs)
     {
         HttpURLConnection httpConn = null;