Skip to content

drewrm/jinatra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jinatra - A (poor) Sinatra-esque web framework for Java

Known Vulnerabilities

My own implementation of an annotation driven, sinatra-esque web framework in java. Don't use this, it's not meant to be useful, just doing it because I can.

Example:

@Application(port=8090)
public class TestApplication {
    
    @Get(route="/hello")
    public void hello(HttpServletRequest request, HttpServletResponse response) {
        try {
            response.getWriter().println("<html><head><title>Hello World</title></head><body><h1>Hello World</h1></body></html>");
        } catch (IOException ex) {
            System.err.println("Derp! " + ex.toString());
        }
    }
}

About

Sinatra-esque framework in java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages