public final class JaxbOAuth2ExceptionMessageConverter
extends org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<E>
Constructor and Description |
---|
JaxbOAuth2ExceptionMessageConverter() |
Modifier and Type | Method and Description |
---|---|
protected OAuth2Exception |
convertToExternal(org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2Exception jaxbOAuth2Exception) |
protected org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2Exception |
convertToInternal(OAuth2Exception exception) |
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
protected org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2Exception convertToInternal(OAuth2Exception exception)
protected OAuth2Exception convertToExternal(org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2Exception jaxbOAuth2Exception)
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.