Package io.github.tkote.fn.eventrouter
Class EventRouter
- java.lang.Object
-
- io.github.tkote.fn.eventrouter.EventRouter
-
public class EventRouter extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EventRouter.Handler
-
Constructor Summary
Constructors Constructor Description EventRouter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fnproject.fn.api.OutputEvent
handleRequest(com.fnproject.fn.api.InputEvent inputEvent, com.fnproject.fn.api.httpgateway.HTTPGatewayContext hctx, com.fnproject.fn.api.tracing.TracingContext tctx)
void
setUp(com.fnproject.fn.api.RuntimeContext rctx)
-
-
-
Method Detail
-
setUp
public void setUp(com.fnproject.fn.api.RuntimeContext rctx) throws Exception
- Throws:
Exception
-
handleRequest
public com.fnproject.fn.api.OutputEvent handleRequest(com.fnproject.fn.api.InputEvent inputEvent, com.fnproject.fn.api.httpgateway.HTTPGatewayContext hctx, com.fnproject.fn.api.tracing.TracingContext tctx)
-
-