public final class JaxbOAuth2AccessTokenMessageConverter
extends org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<E>
Constructor and Description |
---|
JaxbOAuth2AccessTokenMessageConverter() |
Modifier and Type | Method and Description |
---|---|
protected OAuth2AccessToken |
convertToExternal(org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2AccessToken jaxbAccessToken) |
protected org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2AccessToken |
convertToInternal(OAuth2AccessToken accessToken) |
protected E |
readFromSource(Class<? extends E> clazz,
org.springframework.http.HttpHeaders headers,
Source source) |
protected boolean |
supports(Class<?> clazz) |
protected void |
writeToResult(E accessToken,
org.springframework.http.HttpHeaders headers,
Result result) |
readInternal, transform, writeInternal
public JaxbOAuth2AccessTokenMessageConverter()
protected org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2AccessToken convertToInternal(OAuth2AccessToken accessToken)
protected OAuth2AccessToken convertToExternal(org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2AccessToken jaxbAccessToken)
protected final E readFromSource(Class<? extends E> clazz, org.springframework.http.HttpHeaders headers, Source source) throws IOException
readFromSource
in class org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<E>
IOException
protected final void writeToResult(E accessToken, org.springframework.http.HttpHeaders headers, Result result) throws IOException
writeToResult
in class org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<E>
IOException
protected final boolean supports(Class<?> clazz)
supports
in class org.springframework.http.converter.AbstractHttpMessageConverter<E>
Copyright © 2019. All rights reserved.