Class MSQAHttpConnectionClient
- java.lang.Object
-
- com.microsoft.quickauth.signin.internal.http.MSQAHttpConnectionClient
-
public class MSQAHttpConnectionClient extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MSQAHttpConnectionClient()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.HttpURLConnection
get(MSQAHttpRequest request)
static java.lang.String
getStringResponse(java.net.HttpURLConnection conn)
static java.net.HttpURLConnection
post(MSQAHttpRequest request)
static void
safeCloseStream(java.io.Closeable stream)
-
-
-
Method Detail
-
post
@WorkerThread public static java.net.HttpURLConnection post(@NonNull MSQAHttpRequest request) throws java.io.IOException, org.json.JSONException
- Throws:
java.io.IOException
org.json.JSONException
-
get
@WorkerThread public static java.net.HttpURLConnection get(@NonNull MSQAHttpRequest request) throws java.io.IOException
- Throws:
java.io.IOException
-
getStringResponse
public static java.lang.String getStringResponse(java.net.HttpURLConnection conn) throws java.io.IOException, MSQAException
- Throws:
java.io.IOException
MSQAException
-
safeCloseStream
public static void safeCloseStream(java.io.Closeable stream)
-
-