public class StandaloneBotWrapper extends AbstractBotWrapper implements spark.Route
| Constructor and Description |
|---|
StandaloneBotWrapper() |
| Modifier and Type | Method and Description |
|---|---|
Object |
handle(spark.Request request,
spark.Response response) |
void |
start() |
void |
stop() |
StandaloneBotWrapper |
withPort(int port) |
public Object handle(spark.Request request, spark.Response response) throws Exception
handle in interface spark.RouteExceptionpublic StandaloneBotWrapper withPort(int port)
public final void start()
public final void stop()
Copyright © 2016. All rights reserved.