org.springframework.security.oauth2.client.token
类 DefaultAccessTokenRequest
java.lang.Object
org.springframework.security.oauth2.client.token.DefaultAccessTokenRequest
- 所有已实现的接口:
- Serializable, Map<String,List<String>>, AccessTokenRequest, org.springframework.util.MultiValueMap<String,String>
public class DefaultAccessTokenRequest
- extends Object
- implements AccessTokenRequest, Serializable
Local context for an access token request encapsulating the parameters that are sent by the client requesting the
token, as opposed to the more static variables representing the client itself and the resource being targeted.
- 作者:
- Dave Syer
- 另请参见:
- 序列化表格
DefaultAccessTokenRequest
public DefaultAccessTokenRequest()
DefaultAccessTokenRequest
public DefaultAccessTokenRequest(Map<String,String[]> parameters)
isError
public boolean isError()
- 指定者:
- 接口
AccessTokenRequest 中的 isError
getPreservedState
public Object getPreservedState()
- 指定者:
- 接口
AccessTokenRequest 中的 getPreservedState
setPreservedState
public void setPreservedState(Object state)
- 指定者:
- 接口
AccessTokenRequest 中的 setPreservedState
getStateKey
public String getStateKey()
- 指定者:
- 接口
AccessTokenRequest 中的 getStateKey
setStateKey
public void setStateKey(String state)
- 指定者:
- 接口
AccessTokenRequest 中的 setStateKey
getCurrentUri
public String getCurrentUri()
- The current URI that is being handled on the client.
- 指定者:
- 接口
AccessTokenRequest 中的 getCurrentUri
- 返回:
- The URI.
setCurrentUri
public void setCurrentUri(String uri)
- 指定者:
- 接口
AccessTokenRequest 中的 setCurrentUri
getAuthorizationCode
public String getAuthorizationCode()
- The authorization code for this context.
- 指定者:
- 接口
AccessTokenRequest 中的 getAuthorizationCode
- 返回:
- The authorization code, or null if none.
setAuthorizationCode
public void setAuthorizationCode(String code)
- 指定者:
- 接口
AccessTokenRequest 中的 setAuthorizationCode
setCookie
public void setCookie(String cookie)
- 指定者:
- 接口
AccessTokenRequest 中的 setCookie
getCookie
public String getCookie()
- 指定者:
- 接口
AccessTokenRequest 中的 getCookie
setExistingToken
public void setExistingToken(OAuth2AccessToken existingToken)
- 指定者:
- 接口
AccessTokenRequest 中的 setExistingToken
getExistingToken
public OAuth2AccessToken getExistingToken()
- 指定者:
- 接口
AccessTokenRequest 中的 getExistingToken
getFirst
public String getFirst(String key)
- 指定者:
- 接口
org.springframework.util.MultiValueMap<String,String> 中的 getFirst
add
public void add(String key,
String value)
- 指定者:
- 接口
org.springframework.util.MultiValueMap<String,String> 中的 add
set
public void set(String key,
String value)
- 指定者:
- 接口
org.springframework.util.MultiValueMap<String,String> 中的 set
setAll
public void setAll(Map<String,String> values)
- 指定者:
- 接口
org.springframework.util.MultiValueMap<String,String> 中的 setAll
toSingleValueMap
public Map<String,String> toSingleValueMap()
- 指定者:
- 接口
org.springframework.util.MultiValueMap<String,String> 中的 toSingleValueMap
size
public int size()
- 指定者:
- 接口
Map<String,List<String>> 中的 size
isEmpty
public boolean isEmpty()
- 指定者:
- 接口
Map<String,List<String>> 中的 isEmpty
containsKey
public boolean containsKey(Object key)
- 指定者:
- 接口
Map<String,List<String>> 中的 containsKey
containsValue
public boolean containsValue(Object value)
- 指定者:
- 接口
Map<String,List<String>> 中的 containsValue
get
public List<String> get(Object key)
- 指定者:
- 接口
Map<String,List<String>> 中的 get
put
public List<String> put(String key,
List<String> value)
- 指定者:
- 接口
Map<String,List<String>> 中的 put
remove
public List<String> remove(Object key)
- 指定者:
- 接口
Map<String,List<String>> 中的 remove
putAll
public void putAll(Map<? extends String,? extends List<String>> m)
- 指定者:
- 接口
Map<String,List<String>> 中的 putAll
clear
public void clear()
- 指定者:
- 接口
Map<String,List<String>> 中的 clear
keySet
public Set<String> keySet()
- 指定者:
- 接口
Map<String,List<String>> 中的 keySet
values
public Collection<List<String>> values()
- 指定者:
- 接口
Map<String,List<String>> 中的 values
entrySet
public Set<Map.Entry<String,List<String>>> entrySet()
- 指定者:
- 接口
Map<String,List<String>> 中的 entrySet
equals
public boolean equals(Object o)
- 指定者:
- 接口
Map<String,List<String>> 中的 equals - 覆盖:
- 类
Object 中的 equals
hashCode
public int hashCode()
- 指定者:
- 接口
Map<String,List<String>> 中的 hashCode - 覆盖:
- 类
Object 中的 hashCode
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
Copyright © 2013. All rights reserved.