gluu
公開メンバ関数 | 限定公開変数類 | 非公開変数類 | 全メンバ一覧
org.xdi.oxauth.client.UserInfoResponse クラス
org.xdi.oxauth.client.UserInfoResponse の継承関係図
Inheritance graph
org.xdi.oxauth.client.UserInfoResponse 連携図
Collaboration graph

公開メンバ関数

 UserInfoResponse (int status)
 
Map< String, List< String > > getClaims ()
 
void setClaims (Map< String, List< String >> claims)
 
UserInfoErrorResponseType getErrorType ()
 
void setErrorType (UserInfoErrorResponseType errorType)
 
String getErrorDescription ()
 
void setErrorDescription (String errorDescription)
 
String getErrorUri ()
 
void setErrorUri (String errorUri)
 
List< String > getClaim (String claimName)
 
String toString ()
 
int getStatus ()
 
String getLocation ()
 
void setLocation (String location)
 
void setStatus (int status)
 
String getEntity ()
 
void setEntity (String entity)
 
MultivaluedMap< String, Object > getHeaders ()
 
void setHeaders (MultivaluedMap< String, Object > headers)
 

限定公開変数類

int status
 
String location
 
String entity
 
MultivaluedMap< String, Object > headers
 

非公開変数類

Map< String, List< String > > claims
 
UserInfoErrorResponseType errorType
 
String errorDescription
 
String errorUri
 

詳解

Represents an user info response received from the authorization server.

著者
Javier Rojas Blum Date: 11.30.2011

構築子と解体子

◆ UserInfoResponse()

org.xdi.oxauth.client.UserInfoResponse.UserInfoResponse ( int  status)
inline

Constructs a User Info response.

引数
statusThe response status code.
33  {
34  super(status);
35  claims = new HashMap<String, List<String>>();
36  }
int status
Definition: BaseResponse.java:19
Map< String, List< String > > claims
Definition: UserInfoResponse.java:22

関数詳解

◆ getClaim()

List<String> org.xdi.oxauth.client.UserInfoResponse.getClaim ( String  claimName)
inline
109  {
110  if (claims.containsKey(claimName)) {
111  return claims.get(claimName);
112  }
113 
114  return null;
115  }
Map< String, List< String > > claims
Definition: UserInfoResponse.java:22

◆ getClaims()

Map<String, List<String> > org.xdi.oxauth.client.UserInfoResponse.getClaims ( )
inline
38  {
39  return claims;
40  }
Map< String, List< String > > claims
Definition: UserInfoResponse.java:22

◆ getEntity()

String org.xdi.oxauth.client.BaseResponse.getEntity ( )
inlineinherited

Returns the entity or body content of the response.

戻り値
The entity or body content of the response.
85  {
86  return entity;
87  }
String entity
Definition: BaseResponse.java:21

◆ getErrorDescription()

String org.xdi.oxauth.client.UserInfoResponse.getErrorDescription ( )
inline

Returns a human-readable UTF-8 encoded text providing additional information, used to assist the client developer in understanding the error that occurred.

戻り値
The error description.
72  {
73  return errorDescription;
74  }
String errorDescription
Definition: UserInfoResponse.java:25

◆ getErrorType()

UserInfoErrorResponseType org.xdi.oxauth.client.UserInfoResponse.getErrorType ( )
inline

Returns the error code when the request fails, otherwise will return null.

戻り値
The error code when the request fails.
51  {
52  return errorType;
53  }
UserInfoErrorResponseType errorType
Definition: UserInfoResponse.java:24

◆ getErrorUri()

String org.xdi.oxauth.client.UserInfoResponse.getErrorUri ( )
inline

Returns a URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.

戻り値
A URI with information about the error.
94  {
95  return errorUri;
96  }
String errorUri
Definition: UserInfoResponse.java:26

◆ getHeaders()

MultivaluedMap<String, Object> org.xdi.oxauth.client.BaseResponse.getHeaders ( )
inlineinherited
98  {
99  return headers;
100  }
MultivaluedMap< String, Object > headers
Definition: BaseResponse.java:22

◆ getLocation()

String org.xdi.oxauth.client.BaseResponse.getLocation ( )
inlineinherited

Returns the location of the response in the header.

戻り値
The location of the response.
58  {
59  return location;
60  }
String location
Definition: BaseResponse.java:20

◆ getStatus()

int org.xdi.oxauth.client.BaseResponse.getStatus ( )
inlineinherited

Returns the HTTP status code of the response.

戻り値
The HTTP status code.
49  {
50  return status;
51  }
int status
Definition: BaseResponse.java:19

◆ setClaims()

void org.xdi.oxauth.client.UserInfoResponse.setClaims ( Map< String, List< String >>  claims)
inline
42  {
43  this.claims = claims;
44  }
Map< String, List< String > > claims
Definition: UserInfoResponse.java:22

◆ setEntity()

void org.xdi.oxauth.client.BaseResponse.setEntity ( String  entity)
inlineinherited

Sets the entity or body content of the response.

引数
entityThe entity or body content of the response.
94  {
95  this.entity = entity;
96  }
String entity
Definition: BaseResponse.java:21

◆ setErrorDescription()

void org.xdi.oxauth.client.UserInfoResponse.setErrorDescription ( String  errorDescription)
inline

Sets a human-readable UTF-8 encoded text providing additional information, used to assist the client developer in understanding the error that occurred.

引数
errorDescriptionThe error description.
83  {
85  }
String errorDescription
Definition: UserInfoResponse.java:25

◆ setErrorType()

void org.xdi.oxauth.client.UserInfoResponse.setErrorType ( UserInfoErrorResponseType  errorType)
inline

Sets the error code when the request fails, otherwise will return null.

引数
errorTypeThe error code when the request fails.
61  {
62  this.errorType = errorType;
63  }
UserInfoErrorResponseType errorType
Definition: UserInfoResponse.java:24

◆ setErrorUri()

void org.xdi.oxauth.client.UserInfoResponse.setErrorUri ( String  errorUri)
inline

Sets a URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.

引数
errorUriA URI with information about the error.
105  {
106  this.errorUri = errorUri;
107  }
String errorUri
Definition: UserInfoResponse.java:26

◆ setHeaders()

void org.xdi.oxauth.client.BaseResponse.setHeaders ( MultivaluedMap< String, Object >  headers)
inlineinherited
102  {
103  this.headers = headers;
104  }
MultivaluedMap< String, Object > headers
Definition: BaseResponse.java:22

◆ setLocation()

void org.xdi.oxauth.client.BaseResponse.setLocation ( String  location)
inlineinherited

Sets the location of the response in the header.

引数
locationThe location of the response.
67  {
68  this.location = location;
69  }
String location
Definition: BaseResponse.java:20

◆ setStatus()

void org.xdi.oxauth.client.BaseResponse.setStatus ( int  status)
inlineinherited

Sets the HTTP status code of the response.

引数
statusThe HTTP status code.
76  {
77  this.status = status;
78  }
int status
Definition: BaseResponse.java:19

◆ toString()

String org.xdi.oxauth.client.UserInfoResponse.toString ( )
inline
118  {
119  return "UserInfoResponse{" +
120  "status=" + status +
121  "entity=" + entity +
122  "headers=" + headers +
123  "claims=" + claims +
124  ", errorType=" + errorType +
125  ", errorDescription='" + errorDescription + '\'' +
126  ", errorUri='" + errorUri + '\'' +
127  '}';
128  }
UserInfoErrorResponseType errorType
Definition: UserInfoResponse.java:24
String errorUri
Definition: UserInfoResponse.java:26
int status
Definition: BaseResponse.java:19
String entity
Definition: BaseResponse.java:21
MultivaluedMap< String, Object > headers
Definition: BaseResponse.java:22
Map< String, List< String > > claims
Definition: UserInfoResponse.java:22
String errorDescription
Definition: UserInfoResponse.java:25

メンバ詳解

◆ claims

Map<String, List<String> > org.xdi.oxauth.client.UserInfoResponse.claims
private

◆ entity

String org.xdi.oxauth.client.BaseResponse.entity
protectedinherited

◆ errorDescription

String org.xdi.oxauth.client.UserInfoResponse.errorDescription
private

◆ errorType

UserInfoErrorResponseType org.xdi.oxauth.client.UserInfoResponse.errorType
private

◆ errorUri

String org.xdi.oxauth.client.UserInfoResponse.errorUri
private

◆ headers

MultivaluedMap<String, Object> org.xdi.oxauth.client.BaseResponse.headers
protectedinherited

◆ location

String org.xdi.oxauth.client.BaseResponse.location
protectedinherited

◆ status

int org.xdi.oxauth.client.BaseResponse.status
protectedinherited

このクラス詳解は次のファイルから抽出されました: