Skip to content

Reesy/native-java-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

native-java-backend

Note: A java example client that makes use of the same API can be found here

A http/rest backend server using native packages com.sun.net.httpserver rather than any particular framework.

By default the server runs on port 8001

Commands

Compile: ant compile

Create JAR: ant jar

Running: ant run

All-in-one: ant compile jar run

REST API

GET /ping

Example request:

GET /ping HTTP/1.1

Example response:

HTTP/1.1 200 OK
Server: My RESTful API
Content-Type: text/html; charset=utf-8
Content-Length: xy

"Pong" 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages