org.springframework.security.oauth2.common
Class OAuth2AccessTokenJackson1Serializer
java.lang.Object
org.codehaus.jackson.map.JsonSerializer<T>
org.codehaus.jackson.map.ser.std.SerializerBase<T>
org.codehaus.jackson.map.ser.SerializerBase<OAuth2AccessToken>
org.springframework.security.oauth2.common.OAuth2AccessTokenJackson1Serializer
- All Implemented Interfaces:
- org.codehaus.jackson.schema.SchemaAware
public final class OAuth2AccessTokenJackson1Serializer
- extends org.codehaus.jackson.map.ser.SerializerBase<OAuth2AccessToken>
Provides the ability to serialize an OAuth2AccessToken
with jackson by implementing JsonSerializer
.
Refer to OAuth2AccessTokenJackson1Deserializer
to learn more about the JSON format that is used.
- Author:
- Rob Winch
- See Also:
OAuth2AccessTokenJackson1Deserializer
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer |
org.codehaus.jackson.map.JsonSerializer.None |
Fields inherited from class org.codehaus.jackson.map.ser.std.SerializerBase |
_handledType |
Method Summary |
void |
serialize(OAuth2AccessToken token,
org.codehaus.jackson.JsonGenerator jgen,
org.codehaus.jackson.map.SerializerProvider provider)
|
Methods inherited from class org.codehaus.jackson.map.ser.std.SerializerBase |
createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow |
Methods inherited from class org.codehaus.jackson.map.JsonSerializer |
isUnwrappingSerializer, serializeWithType, unwrappingSerializer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuth2AccessTokenJackson1Serializer
public OAuth2AccessTokenJackson1Serializer()
serialize
public void serialize(OAuth2AccessToken token,
org.codehaus.jackson.JsonGenerator jgen,
org.codehaus.jackson.map.SerializerProvider provider)
throws IOException,
org.codehaus.jackson.JsonGenerationException
- Specified by:
serialize
in class org.codehaus.jackson.map.ser.std.SerializerBase<OAuth2AccessToken>
- Throws:
IOException
org.codehaus.jackson.JsonGenerationException
Copyright © 2013. All Rights Reserved.