- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 33 of file TestSnippet.java.
◆ doProcess()
void org.turro.elephant.snippet.TestSnippet.doProcess |
( |
Application |
application, |
|
|
KeyValueMap |
map |
|
) |
| |
|
protected |
Reimplemented from org.turro.elephant.snippet.AbstractSnippet.
Definition at line 36 of file TestSnippet.java.
39 .add(
"message",
"Hello!")
40 .add(
"from", ElephantContext.getSiteName())
42 .map(j -> j.getStructure().asValue())
43 .orElse(Jsons.EMPTY_VALUE)).build());
44 }
catch (IOException ex) {
45 WebLoggers.warning(TestSnippet.class).exception(ex).log();
void writeResponse(Application application, String response)
Optional< Jsons > getJson(KeyValueMap map)
The documentation for this class was generated from the following file: