jawn:jawn-server-jetty

java-web-planet / jawn - A simple web framework in Java

License

License

Categories

Categories

Jetty Container Application Servers Net
GroupId

GroupId

net.javapla.jawn
ArtifactId

ArtifactId

jawn-server-jetty
Last Version

Last Version

0.9.12
Release Date

Release Date

Type

Type

jar
Description

Description

jawn:jawn-server-jetty
java-web-planet / jawn - A simple web framework in Java
Project URL

Project URL

https://github.com/MTDdk/jawn
Source Code Management

Source Code Management

https://github.com/MTDdk/jawn

Download jawn-server-jetty

How to add to project

<!-- https://jarcasting.com/artifacts/net.javapla.jawn/jawn-server-jetty/ -->
<dependency>
    <groupId>net.javapla.jawn</groupId>
    <artifactId>jawn-server-jetty</artifactId>
    <version>0.9.12</version>
</dependency>
// https://jarcasting.com/artifacts/net.javapla.jawn/jawn-server-jetty/
implementation 'net.javapla.jawn:jawn-server-jetty:0.9.12'
// https://jarcasting.com/artifacts/net.javapla.jawn/jawn-server-jetty/
implementation ("net.javapla.jawn:jawn-server-jetty:0.9.12")
'net.javapla.jawn:jawn-server-jetty:jar:0.9.12'
<dependency org="net.javapla.jawn" name="jawn-server-jetty" rev="0.9.12">
  <artifact name="jawn-server-jetty" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.javapla.jawn', module='jawn-server-jetty', version='0.9.12')
)
libraryDependencies += "net.javapla.jawn" % "jawn-server-jetty" % "0.9.12"
[net.javapla.jawn/jawn-server-jetty "0.9.12"]

Dependencies

compile (2)

Group / Artifact Type Version
net.javapla.jawn : jawn-core jar 0.9.12
org.eclipse.jetty : jetty-webapp jar 9.3.5.v20151012

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.hamcrest : java-hamcrest jar 2.0.0.0

Project Modules

There are no modules declared in this project.
     ____.  _____  __      _________   
    |    | /  _  \/  \    /  \      \  
    |    |/  /_\  \   \/\/   /   |   \ 
/\__|    /    |    \        /    |    \ 
\________\____|__  /\__/\  /\____|__  /
  web framework  \/      \/         \/ http://www.javapla.net

Carry on being lazy, almost drowsy

jawn strives to be a super simple and productive framework for web development.

import net.javapla.jawn.core.Jawn;

public class App extends Jawn {
  
  {
    get("/", Results.text("Up and running!"));
    get("/json", Results.json(new Object()));
  }

  public static void main(String[] args) {
    run(args);
  }
}

Documentation

Head over to the wiki for a thorough walk-through.

If you ever want to try this framework out for yourself or in the wild, do not hesitate to give me a ping [email protected]

Latest version

Maven Central Build Status

Versions

Version
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.10
0.8.9-b02
0.8.9-b01
0.8.8
0.8.7
0.8.6