aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/http/Http.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/http/Http.java')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/http/Http.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/http/Http.java b/src/main/java/de/thedevstack/conversationsplus/http/Http.java
new file mode 100644
index 00000000..98b4dc82
--- /dev/null
+++ b/src/main/java/de/thedevstack/conversationsplus/http/Http.java
@@ -0,0 +1,18 @@
+package de.thedevstack.conversationsplus.http;
+
+import java.net.HttpURLConnection;
+
+/**
+ *
+ */
+
+public interface Http {
+ // HTTP Response Codes
+ int HTTP_NOT_FOUND = HttpURLConnection.HTTP_NOT_FOUND;
+
+ // Header Field Names
+ String MIME_REQUEST_PROPERTY_NAME = "Content-Type";
+ String HEADER_NAME_CONTENT_LENGTH = "Content-Length";
+ String HEADER_NAME_ACCEPT_ENCODING = "Accept-Encoding";
+ String USER_AGENT_REQUEST_PROPERTY_NAME = "User-Agent";
+}