com.nimbusds.oauth2.sdk.http
Class CommonContentTypes

java.lang.Object
  extended by 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 to UTF-8.

Author:
Vladimir Dzhuvinov

Field Summary
static javax.mail.internet.ContentType APPLICATION_JSON
          Content type application/json.
static javax.mail.internet.ContentType APPLICATION_JWT
          Content type application/jwt.
static javax.mail.internet.ContentType APPLICATION_URLENCODED
          Content type application/x-www-form-urlencoded.
static String DEFAULT_CHARSET
          The default character set.
 
Constructor Summary
CommonContentTypes()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 type application/json.


APPLICATION_JWT

public static final javax.mail.internet.ContentType APPLICATION_JWT
Content type application/jwt.


APPLICATION_URLENCODED

public static final javax.mail.internet.ContentType APPLICATION_URLENCODED
Content type application/x-www-form-urlencoded.

Constructor Detail

CommonContentTypes

public CommonContentTypes()


Copyright © 2013 NimbusDS. All Rights Reserved.