Class OAuthGrantTypeTypeAdapter
java.lang.Object
com.google.gson.TypeAdapter<org.mule.runtime.extension.api.connectivity.oauth.OAuthGrantType>
org.mule.runtime.extension.internal.persistence.OAuthGrantTypeTypeAdapter
public class OAuthGrantTypeTypeAdapter
extends com.google.gson.TypeAdapter<org.mule.runtime.extension.api.connectivity.oauth.OAuthGrantType>
A
TypeAdapter for the OAuthGrantType hierarchy- Since:
- 1.2.1
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
OAuthGrantTypeTypeAdapter
public OAuthGrantTypeTypeAdapter()
-
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter out, org.mule.runtime.extension.api.connectivity.oauth.OAuthGrantType value) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<org.mule.runtime.extension.api.connectivity.oauth.OAuthGrantType>- Throws:
IOException
-
read
public org.mule.runtime.extension.api.connectivity.oauth.OAuthGrantType read(com.google.gson.stream.JsonReader in) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<org.mule.runtime.extension.api.connectivity.oauth.OAuthGrantType>- Throws:
IOException
-