Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 736 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 736 Bytes

Analogweb Framework Netty Plugin

Analogweb application running on Netty 4! Add this plugin to your application classpath them org.analogweb.core.Servers#run enable to boot Netty server.

Build Status

Quick Start

package org.analogweb.hello;

import org.analogweb.annotation.Route;
import org.analogweb.core.Servers;

@Route("/")
public class Hello {

  public static void main(String... args) {
      Servers.run();
  }

  @Route
  public String hello() {
    // Request GET http://localhost:8080/hello and you should see 'Hello World'
    return "Hello World";
  }

}