gluu
公開メンバ関数 | 公開変数類 | 非公開メンバ関数 | 全メンバ一覧
列挙 org.gluu.credmanager.plugins.authnmethod.rs.status.sms.ValidateCode 詳解
org.gluu.credmanager.plugins.authnmethod.rs.status.sms.ValidateCode 連携図
Collaboration graph

公開メンバ関数

Response getResponse ()
 

公開変数類

 MATCH
 
 EXPIRED
 
 NO_MATCH
 

非公開メンバ関数

String getEntity ()
 

詳解

著者
jgomer

関数詳解

◆ getEntity()

String org.gluu.credmanager.plugins.authnmethod.rs.status.sms.ValidateCode.getEntity ( )
inlineprivate
25  {
26  return Utils.jsonFromObject(Collections.singletonMap("code", toString()));
27  }

◆ getResponse()

Response org.gluu.credmanager.plugins.authnmethod.rs.status.sms.ValidateCode.getResponse ( )
inline
29  {
30 
31  Response.Status httpStatus;
32  switch (this) {
33  case NO_CODE:
34  httpStatus = BAD_REQUEST;
35  break;
36  default:
37  httpStatus = OK;
38  }
39  return Response.status(httpStatus).entity(getEntity()).build();
40 
41  }

メンバ詳解

◆ EXPIRED

org.gluu.credmanager.plugins.authnmethod.rs.status.sms.ValidateCode.EXPIRED

◆ MATCH

org.gluu.credmanager.plugins.authnmethod.rs.status.sms.ValidateCode.MATCH

◆ NO_MATCH

org.gluu.credmanager.plugins.authnmethod.rs.status.sms.ValidateCode.NO_MATCH

次のファイルからこの列挙についての詳解を抽出しました: