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

公開メンバ関数

 ClientInfoResponse (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)
 
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 client info response received from the authorization server.

著者
Javier Rojas Blum Date: 07.19.2012

構築子と解体子

◆ ClientInfoResponse()

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

Constructs a Client Info response.

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

関数詳解

◆ getClaim()

List<String> org.xdi.oxauth.client.ClientInfoResponse.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: ClientInfoResponse.java:22

◆ getClaims()

Map<String, List<String> > org.xdi.oxauth.client.ClientInfoResponse.getClaims ( )
inline
38  {
39  return claims;
40  }
Map< String, List< String > > claims
Definition: ClientInfoResponse.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.ClientInfoResponse.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: ClientInfoResponse.java:25

◆ getErrorType()

UserInfoErrorResponseType org.xdi.oxauth.client.ClientInfoResponse.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: ClientInfoResponse.java:24

◆ getErrorUri()

String org.xdi.oxauth.client.ClientInfoResponse.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: ClientInfoResponse.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.ClientInfoResponse.setClaims ( Map< String, List< String >>  claims)
inline
42  {
43  this.claims = claims;
44  }
Map< String, List< String > > claims
Definition: ClientInfoResponse.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.ClientInfoResponse.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: ClientInfoResponse.java:25

◆ setErrorType()

void org.xdi.oxauth.client.ClientInfoResponse.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: ClientInfoResponse.java:24

◆ setErrorUri()

void org.xdi.oxauth.client.ClientInfoResponse.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: ClientInfoResponse.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

メンバ詳解

◆ claims

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

◆ entity

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

◆ errorDescription

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

◆ errorType

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

◆ errorUri

String org.xdi.oxauth.client.ClientInfoResponse.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

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