org.springframework.security.oauth2.common
类 OAuth2AccessTokenJackson2Deserializer

java.lang.Object
  继承者 com.fasterxml.jackson.databind.JsonDeserializer<T>
      继承者 com.fasterxml.jackson.databind.deser.std.StdDeserializer<OAuth2AccessToken>
          继承者 org.springframework.security.oauth2.common.OAuth2AccessTokenJackson2Deserializer
所有已实现的接口:
Serializable

public final class OAuth2AccessTokenJackson2Deserializer
extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<OAuth2AccessToken>

Provides the ability to deserialize JSON response into an OAuth2AccessToken with jackson2 by implementing JsonDeserializer.

The expected format of the access token is defined by Successful Response.

作者:
Rob Winch, Brian Clozel
另请参见:
OAuth2AccessTokenJackson2Serializer, 序列化表格

嵌套类摘要
 
从类 com.fasterxml.jackson.databind.JsonDeserializer 继承的嵌套类/接口
com.fasterxml.jackson.databind.JsonDeserializer.None
 
字段摘要
 
从类 com.fasterxml.jackson.databind.deser.std.StdDeserializer 继承的字段
_valueClass
 
构造方法摘要
OAuth2AccessTokenJackson2Deserializer()
           
 
方法摘要
 OAuth2AccessToken deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
           
 
从类 com.fasterxml.jackson.databind.deser.std.StdDeserializer 继承的方法
_parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, _parseString, deserializeWithType, findDeserializer, getValueClass, getValueType, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
 
从类 com.fasterxml.jackson.databind.JsonDeserializer 继承的方法
deserialize, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializer
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

OAuth2AccessTokenJackson2Deserializer

public OAuth2AccessTokenJackson2Deserializer()
方法详细信息

deserialize

public OAuth2AccessToken deserialize(com.fasterxml.jackson.core.JsonParser jp,
                                     com.fasterxml.jackson.databind.DeserializationContext ctxt)
                              throws IOException,
                                     com.fasterxml.jackson.core.JsonProcessingException
指定者:
com.fasterxml.jackson.databind.JsonDeserializer<OAuth2AccessToken> 中的 deserialize
抛出:
IOException
com.fasterxml.jackson.core.JsonProcessingException


Copyright © 2013. All rights reserved.