()
| 26 | private List<List<String>> history; |
| 27 | |
| 28 | @Override |
| 29 | public JsonObject getInput() { |
| 30 | JsonObject jsonObject = new JsonObject(); |
| 31 | jsonObject.addProperty(PROMPT, getPrompt()); |
| 32 | JsonArray ar = JsonUtils.toJsonElement(history).getAsJsonArray(); |
| 33 | jsonObject.add(HISTORY, ar); |
| 34 | return jsonObject; |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Get the websocket binary data, only for websocket binary input data. |
no test coverage detected