com.jwebmp.examples.undertow.helloworld.HelloWorldJSON Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of helloworld Show documentation
Show all versions of helloworld Show documentation
An example Hello World Application for Undertow in the JWebSwing Framework
package com.jwebmp.examples.undertow.helloworld;
import com.jwebmp.core.Page;
import com.jwebmp.core.annotations.PageConfiguration;
@PageConfiguration(url = "/jsontest",
ignore = true)
public class HelloWorldJSON
extends Page
{
public HelloWorldJSON()
{
super();
getPageFields().setAuthor("GedMarc");
getPageFields().setKeywords("Some Random Keywords");
}
public static void main(String[] args)
{
System.out.println(new HelloWorldJSON().toString());
}
}