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

公開メンバ関数

 BaseResponse ()
 
 BaseResponse (int status)
 
 BaseResponse (ClientResponse< String > clientResponse)
 
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
 

詳解

著者
Javier Rojas Blum
バージョン
December 26, 2016

構築子と解体子

◆ BaseResponse() [1/3]

org.xdi.oxauth.client.BaseResponse.BaseResponse ( )
inline
24  {
25  }

◆ BaseResponse() [2/3]

org.xdi.oxauth.client.BaseResponse.BaseResponse ( int  status)
inline
29  {
30  this.status = status;
31  }
int status
Definition: BaseResponse.java:19

◆ BaseResponse() [3/3]

org.xdi.oxauth.client.BaseResponse.BaseResponse ( ClientResponse< String >  clientResponse)
inline
33  {
34  if (clientResponse != null) {
35  status = clientResponse.getStatus();
36  if (clientResponse.getLocationLink() != null) {
37  location = clientResponse.getLocationLink().getHref();
38  }
39  entity = clientResponse.getEntity(String.class);
40  headers = clientResponse.getMetadata();
41  }
42  }
String location
Definition: BaseResponse.java:20
int status
Definition: BaseResponse.java:19
String entity
Definition: BaseResponse.java:21
MultivaluedMap< String, Object > headers
Definition: BaseResponse.java:22

関数詳解

◆ getEntity()

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

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

◆ getHeaders()

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

◆ getLocation()

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

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 ( )
inline

Returns the HTTP status code of the response.

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

◆ setEntity()

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

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

◆ setHeaders()

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

◆ setLocation()

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

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)
inline

Sets the HTTP status code of the response.

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

メンバ詳解

◆ entity

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

◆ headers

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

◆ location

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

◆ status

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

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