public class HttpConstants extends Object
Modifier and Type | Class and Description |
---|---|
class |
HttpConstants.Codes |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_HTTP_PORT |
static int |
DEFAULT_HTTPS_PORT |
static Set<Integer> |
FATAL_CODES |
static String |
HTTP_GET |
static String |
HTTP_POST |
static String |
HTTP_SCHEME |
static String |
HTTPS_SCHEME |
Constructor and Description |
---|
HttpConstants() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkHttpMethod(String httpMethod) |
static org.apache.http.client.methods.HttpUriRequest |
constructRequest(String host,
Endpoint endpoint,
Authentication auth) |
static boolean |
isValidHttpScheme(String address) |
public static final String HTTP_GET
public static final String HTTP_POST
public static final String HTTP_SCHEME
public static final String HTTPS_SCHEME
public static final int DEFAULT_HTTP_PORT
public static final int DEFAULT_HTTPS_PORT
public static boolean checkHttpMethod(String httpMethod)
public static boolean isValidHttpScheme(String address)
public static org.apache.http.client.methods.HttpUriRequest constructRequest(String host, Endpoint endpoint, Authentication auth)
Copyright © 2013. All Rights Reserved.