Class GsonFactory

java.lang.Object
com.amilesend.client.parse.GsonFactoryBase<DiscogsConnection>
com.amilesend.discogs.parse.GsonFactory

public class GsonFactory extends com.amilesend.client.parse.GsonFactoryBase<DiscogsConnection>
Factory that vends new pre-configured Gson instances.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.google.gson.Gson
    Gets the Gson instance used for authentication.

    Methods inherited from class com.amilesend.client.parse.GsonFactoryBase

    clear, clearAll, getInstance, getInstanceForPrettyPrinting

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GsonFactory

      public GsonFactory()
  • Method Details

    • getGsonForAuthentication

      public static com.google.gson.Gson getGsonForAuthentication()
      Gets the Gson instance used for authentication.
      Returns:
      the configured Gson instance