Class Headers
- java.lang.Object
-
- com.mongodb.stitch.core.internal.net.Headers
-
public final class Headers extends Object
HTTP Header definitions and helper methods.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACCEPT
static String
AUTHORIZATION
static String
CONTENT_TYPE
static String
CONTENT_TYPE_CANON
-
Method Summary
Modifier and Type Method Description static String
getAuthorizationBearer(String value)
Pulls out the Bearer value (https://tools.ietf.org/html/rfc6750) from an Authorization header.
-
-
-
Field Detail
-
CONTENT_TYPE_CANON
public static final String CONTENT_TYPE_CANON
- See Also:
- Constant Field Values
-
CONTENT_TYPE
public static final String CONTENT_TYPE
-
AUTHORIZATION
public static final String AUTHORIZATION
-
ACCEPT
public static final String ACCEPT
-
-