title: Java class for embedded HTTP server in Swing app
body: <p>I wish to embed a very light HTTP server in my Java Swing app which just accepts requests, performs some actions, and returns the results.</p>
  
  <p>Is there a very light Java class that I can use in my app which listens on a specified port for HTTP requests and lets me handle requests?</p>
  
  <p>Note, that I am not looking for a stand-alone HTTP server, just a small Java class which I can use in my app.</p>