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

public interface CommandLine.Server

Starts the server of a backend that also has commands. Generated code implements it; applications do not.

Methods

public abstract void serve() throws ExceptionStarts the server and blocks until it stops.

Method details

serve

public abstract void serve() throws Exception
Starts the server and blocks until it stops.

Throws

Exception