org.springframework.security.oauth2.common
类 OAuth2AccessTokenJackson2Serializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<OAuth2AccessToken>
org.springframework.security.oauth2.common.OAuth2AccessTokenJackson2Serializer
- 所有已实现的接口:
- com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.jsonschema.SchemaAware
public final class OAuth2AccessTokenJackson2Serializer
- extends com.fasterxml.jackson.databind.ser.std.StdSerializer<OAuth2AccessToken>
Provides the ability to serialize an OAuth2AccessToken with jackson2 by implementing JsonDeserializer.
Refer to OAuth2AccessTokenJackson1Deserializer to learn more about the JSON format that is used.
- 作者:
- Rob Winch, Brian Clozel
- 另请参见:
OAuth2AccessTokenJackson2Deserializer
| 从类 com.fasterxml.jackson.databind.JsonSerializer 继承的嵌套类/接口 |
com.fasterxml.jackson.databind.JsonSerializer.None |
| 从类 com.fasterxml.jackson.databind.ser.std.StdSerializer 继承的字段 |
_handledType |
|
方法摘要 |
void |
serialize(OAuth2AccessToken token,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
|
| 从类 com.fasterxml.jackson.databind.ser.std.StdSerializer 继承的方法 |
acceptJsonFormatVisitor, createObjectNode, createSchemaNode, createSchemaNode, getSchema, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow |
| 从类 com.fasterxml.jackson.databind.JsonSerializer 继承的方法 |
getDelegatee, isEmpty, isUnwrappingSerializer, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuth2AccessTokenJackson2Serializer
public OAuth2AccessTokenJackson2Serializer()
serialize
public void serialize(OAuth2AccessToken token,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
- 指定者:
- 类
com.fasterxml.jackson.databind.ser.std.StdSerializer<OAuth2AccessToken> 中的 serialize
- 抛出:
IOException
com.fasterxml.jackson.core.JsonGenerationException
Copyright © 2013. All rights reserved.