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

公開メンバ関数

Response getResponse ()
 

公開変数類

 MISSING_PARAMS
 
 NO_MATCH
 

非公開メンバ関数

String getEntity ()
 

詳解

著者
jgomer

関数詳解

◆ getEntity()

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

◆ getResponse()

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

メンバ詳解

◆ MISSING_PARAMS

org.gluu.credmanager.plugins.authnmethod.rs.status.otp.ValidateCode.MISSING_PARAMS

◆ NO_MATCH

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

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