com.google.api.client.auth.jsontoken
Class JsonWebToken.Header

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.client.auth.jsontoken.JsonWebToken.Header
All Implemented Interfaces:
Cloneable, Map<String,Object>
Direct Known Subclasses:
JsonWebSignature.Header
Enclosing class:
JsonWebToken

public static class JsonWebToken.Header
extends GenericJson

Header as specified in JWT Header.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
JsonWebToken.Header()
           
 
Method Summary
 String getType()
          Returns the type header parameter used to declare structural information about the JWT or null for none.
 JsonWebToken.Header setType(String type)
          Sets the type header parameter used to declare structural information about the JWT or null for none.
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JsonWebToken.Header

public JsonWebToken.Header()
Method Detail

getType

public final String getType()
Returns the type header parameter used to declare structural information about the JWT or null for none.


setType

public JsonWebToken.Header setType(String type)
Sets the type header parameter used to declare structural information about the JWT or null for none.



Copyright © 2011-2012 Google. All Rights Reserved.