Skip to content
Client and server implementation of the Hypertext Transfer Protocol (HTTP) using Java Sockets
Branch: master
Clone or download
Latest commit 35e6ce6 Apr 21, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
server
util/src/main/java/util refactor(*): structure project appropriately Mar 27, 2017
.gitignore chore(gitignore): remove IDE specific folder Mar 27, 2017
.travis.yml
Dockerfile
README.md
build.gradle
settings.gradle

README.md

HTTP Client and Server Build Status

Client and server implementation of the Hypertext Transfer Protocol (HTTP) using Java Sockets.

Written by @StijnCaerts and @jppgks for the second assignment of Computer Networks to learn Socket programming and get familiarized with the basics of distributed programming.

Run server

# 🐳  Pulls image, then runs server publishing port 8080 on localhost
docker run --name "bernard" -d -p 8080:8080 jppgks/http-server

Interact with the server at localhost:8080! 🎉

Run client

# Modify arguments (method, host, port) as you see fit
docker run -it \
       --network container:"bernard" \
       jppgks/http-client \
       -Pmethod="GET" -Phost="localhost" -Pport="8080"
You can’t perform that action at this time.