public static void main(String[] args) { // SLF4JBridgeHandler.removeHandlersForRootLogger(); // SLF4JBridgeHandler.install(); new MicroserverApp(()->"simple").start(); }
public static void main(String[] args){ new MicroserverApp(()-> "simple-app").run(); } @GET
public static void main(String[] args){ new MicroserverApp( SingleClassApp.class, ()-> "simple-app"); } @GET
public MicroserverPlugins(Module mod, Class... classes){ this.classes = ReactiveSeq.of(classes) .appendStream(ReactiveSeq.of(new MicroserverApp(extractClass(),mod).classes)) .toArray(i->new Class[i]); } public Class[] classes(){
@After public void stopServer(){ server.stop(); } /*
public static void main(String[] args) throws IOException{ new MicroserverApp(()->"test-app").run(); } }
@Before public void startServer(){ server = new MicroserverApp( ()-> "async-app"); server.start(); }
public MicroserverPlugins(Class... classes){ ReactiveSeq<Class> rs= classes!=null ? ReactiveSeq.of(classes) : ReactiveSeq.empty(); this.classes = rs .appendStream(ReactiveSeq.of(new MicroserverApp(true,extractClass(),()->"").classes)) .toArray(i->new Class[i]); } public MicroserverPlugins(Module mod, Class... classes){
public static void main(String[] args) throws InterruptedException { new MicroserverApp( FilterAppLocalMain.class, () -> "filter-app") .run(); }
@Before public void startServer() { server = new MicroserverApp(() -> "registry-app"); server.start(); }
public static void main(String[] args) throws InterruptedException { new MicroserverApp( AppRunnerLocalMain.class, () -> "test-app") .run(); }
public static void main(String[] args){ new MicroserverApp(()->"test-app").run(); } @GET
public static void main(String[] args) throws InterruptedException { new MicroserverApp( AppRunnerLocalMain.class, () -> "test-app") .run(); }
public static void main(String[] args){ new MicroserverApp(()-> "simple-app").run(); }
public static void main(String[] args) throws InterruptedException { new MicroserverApp( FilterAppLocalMain.class, () -> "filter-app") .run(); }
public static void main(String[] args) throws IOException{ new MicroserverApp(()->"test-app").run(); } }
public static void main(String[] args){ new MicroserverApp(()->"test-app").run(); } @GET
public static void main(String[] args){ new MicroserverApp(()->"hello-world").run(); }
public static void main(String[] args){ new MicroserverApp(()-> "simple-app").run(); }
public static void main(String[] args){ new MicroserverApp(()->"test-app").run(); }