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 StringACCEPTstatic StringAUTHORIZATIONstatic StringCONTENT_TYPEstatic StringCONTENT_TYPE_CANON
-
Method Summary
Modifier and Type Method Description static StringgetAuthorizationBearer(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
-
-