public class FormOAuth2AccessTokenMessageConverter extends org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2AccessToken>
Constructor and Description |
---|
FormOAuth2AccessTokenMessageConverter() |
Modifier and Type | Method and Description |
---|---|
protected OAuth2AccessToken |
readInternal(Class<? extends OAuth2AccessToken> clazz,
org.springframework.http.HttpInputMessage inputMessage) |
protected boolean |
supports(Class<?> clazz) |
protected void |
writeInternal(OAuth2AccessToken accessToken,
org.springframework.http.HttpOutputMessage outputMessage) |
public FormOAuth2AccessTokenMessageConverter()
protected boolean supports(Class<?> clazz)
supports
in class org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2AccessToken>
protected OAuth2AccessToken readInternal(Class<? extends OAuth2AccessToken> clazz, org.springframework.http.HttpInputMessage inputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotReadableException
readInternal
in class org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2AccessToken>
IOException
org.springframework.http.converter.HttpMessageNotReadableException
protected void writeInternal(OAuth2AccessToken accessToken, org.springframework.http.HttpOutputMessage outputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotWritableException
writeInternal
in class org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2AccessToken>
IOException
org.springframework.http.converter.HttpMessageNotWritableException
Copyright © 2019. All rights reserved.