org.springframework.security.oauth2.http.converter
类 FormOAuth2AccessTokenMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2AccessToken>
org.springframework.security.oauth2.http.converter.FormOAuth2AccessTokenMessageConverter
- 所有已实现的接口:
- org.springframework.http.converter.HttpMessageConverter<OAuth2AccessToken>
public class FormOAuth2AccessTokenMessageConverter
- extends org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2AccessToken>
Converter that can handle inbound form data and convert it to an access token. Needed to support external servers,
like Facebook that might not send JSON token data.
- 作者:
- Rob Winch, Dave Syer
| 从类 org.springframework.http.converter.AbstractHttpMessageConverter 继承的字段 |
logger |
| 从类 org.springframework.http.converter.AbstractHttpMessageConverter 继承的方法 |
canRead, canRead, canWrite, canWrite, getContentLength, getDefaultContentType, getSupportedMediaTypes, read, setSupportedMediaTypes, write |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormOAuth2AccessTokenMessageConverter
public FormOAuth2AccessTokenMessageConverter()
supports
protected boolean supports(Class<?> clazz)
- 指定者:
- 类
org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2AccessToken> 中的 supports
readInternal
protected OAuth2AccessToken readInternal(Class<? extends OAuth2AccessToken> clazz,
org.springframework.http.HttpInputMessage inputMessage)
throws IOException,
org.springframework.http.converter.HttpMessageNotReadableException
- 指定者:
- 类
org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2AccessToken> 中的 readInternal
- 抛出:
IOException
org.springframework.http.converter.HttpMessageNotReadableException
writeInternal
protected void writeInternal(OAuth2AccessToken accessToken,
org.springframework.http.HttpOutputMessage outputMessage)
throws IOException,
org.springframework.http.converter.HttpMessageNotWritableException
- 指定者:
- 类
org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2AccessToken> 中的 writeInternal
- 抛出:
IOException
org.springframework.http.converter.HttpMessageNotWritableException
Copyright © 2013. All rights reserved.