|
String | getEntity (String key, String request) |
|
|
static ObjectMapper | MAPPER = new ObjectMapper() |
|
◆ getEntity()
String org.gluu.credmanager.plugins.authnmethod.rs.status.otp.ComputeRequestCode.getEntity |
( |
String |
key, |
|
|
String |
request |
|
) |
| |
|
inlineprivate |
31 Map<String, Object> map =
new LinkedHashMap<>();
32 map.put(
"code", toString());
35 map.put(
"request", request);
37 json =
MAPPER.writeValueAsString(map);
38 }
catch (Exception e) {
Definition: ComputeRequestCode.java:23
static ObjectMapper MAPPER
Definition: ComputeRequestCode.java:25
◆ getResponse() [1/2]
Response org.gluu.credmanager.plugins.authnmethod.rs.status.otp.ComputeRequestCode.getResponse |
( |
String |
key, |
|
|
String |
request |
|
) |
| |
|
inline |
47 Response.Status httpStatus;
50 httpStatus = BAD_REQUEST;
55 return Response.status(httpStatus).entity(
getEntity(key, request)).build();
NO_DISPLAY_NAME
Definition: ComputeRequestCode.java:21
String getEntity(String key, String request)
Definition: ComputeRequestCode.java:27
◆ getResponse() [2/2]
Response org.gluu.credmanager.plugins.authnmethod.rs.status.otp.ComputeRequestCode.getResponse |
( |
| ) |
|
|
inline |
Response getResponse()
Definition: ComputeRequestCode.java:59
◆ INVALID_MODE
org.gluu.credmanager.plugins.authnmethod.rs.status.otp.ComputeRequestCode.INVALID_MODE |
◆ MAPPER
static ObjectMapper org.gluu.credmanager.plugins.authnmethod.rs.status.otp.ComputeRequestCode.MAPPER = new ObjectMapper() |
|
staticprivate |
◆ NO_DISPLAY_NAME
org.gluu.credmanager.plugins.authnmethod.rs.status.otp.ComputeRequestCode.NO_DISPLAY_NAME |
次のファイルからこの列挙についての詳解を抽出しました:
- D:/AppData/OpenId/gluu/src/cred-manager/app/src/main/java/org/gluu/credmanager/plugins/authnmethod/rs/status/otp/ComputeRequestCode.java