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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.mule.runtime.extension.api.connectivity.oauth.OAuthGrantType
    read(com.google.gson.stream.JsonReader in)
     
    void
    write(com.google.gson.stream.JsonWriter out, org.mule.runtime.extension.api.connectivity.oauth.OAuthGrantType value)
     

    Methods inherited from class com.google.gson.TypeAdapter

    fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      write in class com.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:
      read in class com.google.gson.TypeAdapter<org.mule.runtime.extension.api.connectivity.oauth.OAuthGrantType>
      Throws:
      IOException