org.springframework.security.oauth2.http.converter.jaxb
类 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
所有已实现的接口:
org.springframework.http.converter.HttpMessageConverter<OAuth2AccessToken>

public final class JaxbOAuth2AccessTokenMessageConverter
extends org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<E>


字段摘要
 
从类 org.springframework.http.converter.AbstractHttpMessageConverter 继承的字段
logger
 
构造方法摘要
JaxbOAuth2AccessTokenMessageConverter()
           
 
方法摘要
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)
           
 
从类 org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter 继承的方法
readInternal, transform, writeInternal
 
从类 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
 

构造方法详细信息

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
指定者:
org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<E> 中的 readFromSource
抛出:
IOException

writeToResult

protected final void writeToResult(E accessToken,
                                   org.springframework.http.HttpHeaders headers,
                                   Result result)
                            throws IOException
指定者:
org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<E> 中的 writeToResult
抛出:
IOException

supports

protected final boolean supports(Class<?> clazz)
指定者:
org.springframework.http.converter.AbstractHttpMessageConverter<E> 中的 supports


Copyright © 2013. All rights reserved.