Package com.nimbusds.oauth2.sdk.http
Class CommonContentTypes
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.http.CommonContentTypes
-
public final class CommonContentTypes extends Object
Common content types used in the OAuth 2.0 protocol and implementing applications. The character set all of content types is set toUTF-8
.
-
-
Field Summary
Fields Modifier and Type Field Description static javax.mail.internet.ContentType
APPLICATION_JOSE
Content typeapplication/jose
.static javax.mail.internet.ContentType
APPLICATION_JSON
Content typeapplication/json
.static javax.mail.internet.ContentType
APPLICATION_JWT
Content typeapplication/jwt
.static javax.mail.internet.ContentType
APPLICATION_URLENCODED
Content typeapplication/x-www-form-urlencoded
.static String
DEFAULT_CHARSET
The default character set.
-
Constructor Summary
Constructors Constructor Description CommonContentTypes()
-
-
-
Field Detail
-
DEFAULT_CHARSET
public static final String DEFAULT_CHARSET
The default character set.- See Also:
- Constant Field Values
-
APPLICATION_JSON
public static final javax.mail.internet.ContentType APPLICATION_JSON
Content typeapplication/json
.
-
APPLICATION_JOSE
public static final javax.mail.internet.ContentType APPLICATION_JOSE
Content typeapplication/jose
.
-
APPLICATION_JWT
public static final javax.mail.internet.ContentType APPLICATION_JWT
Content typeapplication/jwt
.
-
APPLICATION_URLENCODED
public static final javax.mail.internet.ContentType APPLICATION_URLENCODED
Content typeapplication/x-www-form-urlencoded
.
-
-
Constructor Detail
-
CommonContentTypes
public CommonContentTypes()
-
-