Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public interface ControllerHooks.Invocation

What a generated router implements: running route route of itself.

Methods

public abstract HttpServer.Response proceed(int route, HttpServer.Request request, String[] bound) throws Exception

Method details

proceed

public abstract HttpServer.Response proceed(int route, HttpServer.Request request, String[] bound) throws Exception

Parameters

route int
the route’s index in the router
request HttpServer.Request
the request
bound String[]
the path variables, or null for a static route

Returns

the response

Throws

Exception
whatever binding or the controller threw