aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/http/Http.java
blob: 98b4dc82f4e63dbaac1b1d1b20f88f0179a1f41c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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";
}