org.springframework.security.oauth2.http.converter.jaxb
Class JaxbOAuth2AccessTokenMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<T>
org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<E>
org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2AccessTokenMessageConverter
- All Implemented Interfaces:
- org.springframework.http.converter.HttpMessageConverter<OAuth2AccessToken>
public final class JaxbOAuth2AccessTokenMessageConverter
- extends org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<E>
| Fields inherited from class org.springframework.http.converter.AbstractHttpMessageConverter |
logger |
| Methods inherited from class org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter |
readInternal, transform, writeInternal |
| Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter |
canRead, canRead, canWrite, canWrite, getContentLength, getDefaultContentType, getSupportedMediaTypes, read, setSupportedMediaTypes, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaxbOAuth2AccessTokenMessageConverter
public JaxbOAuth2AccessTokenMessageConverter()
convertToInternal
protected org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2AccessToken convertToInternal(OAuth2AccessToken accessToken)
convertToExternal
protected OAuth2AccessToken convertToExternal(org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2AccessToken jaxbAccessToken)
readFromSource
protected final E readFromSource(Class<? extends E> clazz,
org.springframework.http.HttpHeaders headers,
Source source)
throws IOException
- Specified by:
readFromSource in class org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<E>
- Throws:
IOException
writeToResult
protected final void writeToResult(E accessToken,
org.springframework.http.HttpHeaders headers,
Result result)
throws IOException
- Specified by:
writeToResult in class org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<E>
- Throws:
IOException
supports
protected final boolean supports(Class<?> clazz)
- Specified by:
supports in class org.springframework.http.converter.AbstractHttpMessageConverter<E>
Copyright © 2013. All rights reserved.