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

java.lang.Object
  extended by org.codehaus.jackson.map.JsonSerializer<OAuth2Exception>
      extended by org.springframework.security.oauth2.common.exceptions.OAuth2ExceptionSerializer

public class OAuth2ExceptionSerializer
extends org.codehaus.jackson.map.JsonSerializer<OAuth2Exception>

Author:
Dave Syer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer
org.codehaus.jackson.map.JsonSerializer.None
 
Constructor Summary
OAuth2ExceptionSerializer()
           
 
Method Summary
 void serialize(OAuth2Exception value, org.codehaus.jackson.JsonGenerator jgen, org.codehaus.jackson.map.SerializerProvider provider)
           
 
Methods inherited from class org.codehaus.jackson.map.JsonSerializer
handledType, isUnwrappingSerializer, serializeWithType, unwrappingSerializer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuth2ExceptionSerializer

public OAuth2ExceptionSerializer()
Method Detail

serialize

public void serialize(OAuth2Exception value,
                      org.codehaus.jackson.JsonGenerator jgen,
                      org.codehaus.jackson.map.SerializerProvider provider)
               throws IOException,
                      org.codehaus.jackson.JsonProcessingException
Specified by:
serialize in class org.codehaus.jackson.map.JsonSerializer<OAuth2Exception>
Throws:
IOException
org.codehaus.jackson.JsonProcessingException


Copyright © 2012. All Rights Reserved.