org.springframework.security.oauth2.common.exceptions
Class OAuth2ExceptionJackson2Serializer

java.lang.Object
  extended by com.fasterxml.jackson.databind.JsonSerializer<T>
      extended by com.fasterxml.jackson.databind.ser.std.StdSerializer<OAuth2Exception>
          extended by org.springframework.security.oauth2.common.exceptions.OAuth2ExceptionJackson2Serializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.jsonschema.SchemaAware

public class OAuth2ExceptionJackson2Serializer
extends com.fasterxml.jackson.databind.ser.std.StdSerializer<OAuth2Exception>

Author:
Brian Clozel

Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
 
Field Summary
 
Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_handledType
 
Constructor Summary
OAuth2ExceptionJackson2Serializer()
           
 
Method Summary
 void serialize(OAuth2Exception value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
           
 
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
acceptJsonFormatVisitor, createObjectNode, createSchemaNode, createSchemaNode, getSchema, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow
 
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
getDelegatee, isEmpty, isUnwrappingSerializer, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuth2ExceptionJackson2Serializer

public OAuth2ExceptionJackson2Serializer()
Method Detail

serialize

public void serialize(OAuth2Exception value,
                      com.fasterxml.jackson.core.JsonGenerator jgen,
                      com.fasterxml.jackson.databind.SerializerProvider provider)
               throws IOException,
                      com.fasterxml.jackson.core.JsonProcessingException
Specified by:
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<OAuth2Exception>
Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException


Copyright © 2013. All rights reserved.