public class BaseHandler
extends java.lang.Object
| Constructor and Description |
|---|
BaseHandler() |
BaseHandler(WSSimulation wsSimulations) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRoute(WSSimulation simulation)
Adds a route to this handler
|
java.lang.Object |
processRequest(spark.Request request,
spark.Response response) |
int |
routeCount()
Return the route count that this handler manages
|
public BaseHandler()
public BaseHandler(@NotNull
WSSimulation wsSimulations)
@NotNull
public final java.lang.Object processRequest(@NotNull
spark.Request request,
@NotNull
spark.Response response)
public int routeCount()
public void addRoute(@NotNull
WSSimulation simulation)
simulation - a simulation that will be added.