public class ConnectionFactory
extends java.lang.Object
Constructor and Description |
---|
ConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
protected java.net.HttpURLConnection |
openConnection(java.lang.String url)
Configures defaults for connections opened with
upload(String)
and projectSettings(String) . |
java.net.HttpURLConnection |
projectSettings(java.lang.String writeKey)
Return a
HttpURLConnection that reads JSON formatted project settings. |
java.net.HttpURLConnection |
upload(java.lang.String writeKey)
Return a
HttpURLConnection that writes batched payloads to https://analytics.kidoodle.tv/VERSION/STAGE/import . |
public java.net.HttpURLConnection projectSettings(java.lang.String writeKey) throws java.io.IOException
HttpURLConnection
that reads JSON formatted project settings.java.io.IOException
public java.net.HttpURLConnection upload(java.lang.String writeKey) throws java.io.IOException
HttpURLConnection
that writes batched payloads to https://analytics.kidoodle.tv/VERSION/STAGE/import
.java.io.IOException
protected java.net.HttpURLConnection openConnection(java.lang.String url) throws java.io.IOException
upload(String)
and projectSettings(String)
.java.io.IOException