
public class JSONResultHandler extends Object implements ResultHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
JSONResultHandler.Parameterizer
Parameterization class
|
| Modifier and Type | Field and Description |
|---|---|
private int |
port
Listen port
|
private JSONWebServer |
server
The actual web server
|
| Constructor and Description |
|---|
JSONResultHandler(int port)
Constructor.
|
private JSONWebServer server
private int port
public JSONResultHandler(int port)
port - Port to listen onpublic void processNewResult(HierarchicalResult baseResult, Result newResult)
ResultProcessorprocessNewResult in interface ResultProcessorbaseResult - The base of the result tree.newResult - Newly added result subtree.