Skip to content

pcorliss/Echo-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Echo Java Server

A small Jetty Server to echo back header and parameter information useful for testing and debugging.

  • Allows status to be set via status parameter (status=500)
  • Allows content-type to be set via type parameter (type=text/plain)
  • Allows content to be set via echo parameter (echo=Hello%20World)

Usage

Checkout from git

git clone http://github.com/pcorliss/Echo-Server

Build with ant (Optional, JAR is already included)

ant

Run (Select an appropriate port number)

java -jar echo.jar 8080

Open in a browser

http://localhost:8080/
http://localhost:8080/?status=200&type=text/plain&echo=Hello%20World

About

Small jetty webserver that echos back content sent to it. Useful for debugging and testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages