◆ doProcess()
abstract void org.turro.elephant.snippet.AbstractSnippet.doProcess |
( |
Application |
application, |
|
|
KeyValueMap |
map |
|
) |
| |
|
abstractprotected |
◆ getJson()
Optional<Jsons> org.turro.elephant.snippet.AbstractSnippet.getJson |
( |
KeyValueMap |
map | ) |
|
|
protected |
Definition at line 40 of file AbstractSnippet.java.
41 return map.containsKey(Snippets.JSONPAR) ?
42 Optional.ofNullable(Jsons.read(map.get(Snippets.JSONPAR))) :
◆ process()
void org.turro.elephant.snippet.AbstractSnippet.process |
( |
Application |
application, |
|
|
KeyValueMap |
map |
|
) |
| |
◆ writeResponse()
void org.turro.elephant.snippet.AbstractSnippet.writeResponse |
( |
Application |
application, |
|
|
String |
response |
|
) |
| throws IOException |
|
protected |
Definition at line 46 of file AbstractSnippet.java.
47 Respond.to(application.getHttpServletResponse()).flushJson(response, StandardCharsets.UTF_8);
The documentation for this class was generated from the following file: