Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple web server using the actor design pattern (scala, JDK7)
Scala
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
README.md
SimpleServer.iml

README.md

SimpleServer

Simple web server using the actor design pattern (scala, JDK7) and asynchronous channels.

  • Serves HTML files from ~/www
  • By Default, logs are written /tmp

The first parameter is the port number, which defaults to 8181

Design

SimpleServer -> AcceptHandler -> ReadActor <---\ -> ParseActor -/ // message ReadActor if more bytes to read -> HandleActor -> ResponseActor

HttpRequest object tracks state and chain of actors

Something went wrong with that request. Please try again.