org.jclouds.oauth.v2.json
Class ClaimSetTypeAdapter
java.lang.Object
com.google.gson.TypeAdapter<ClaimSet>
org.jclouds.oauth.v2.json.ClaimSetTypeAdapter
public class ClaimSetTypeAdapter
- extends com.google.gson.TypeAdapter<ClaimSet>
JSON TypeAdapter for the ClaimSet type. Pull the claims maps to the root level and adds two properties for the
expiration time and issuing time.
- Author:
- David Alves
|
Method Summary |
ClaimSet |
read(com.google.gson.stream.JsonReader in)
|
void |
write(com.google.gson.stream.JsonWriter out,
ClaimSet 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 |
ClaimSetTypeAdapter
public ClaimSetTypeAdapter()
write
public void write(com.google.gson.stream.JsonWriter out,
ClaimSet value)
throws IOException
- Specified by:
write in class com.google.gson.TypeAdapter<ClaimSet>
- Throws:
IOException
read
public ClaimSet read(com.google.gson.stream.JsonReader in)
throws IOException
- Specified by:
read in class com.google.gson.TypeAdapter<ClaimSet>
- Throws:
IOException
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.