Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 796 Bytes

File metadata and controls

40 lines (31 loc) · 796 Bytes

Forelesning 4: Http Server

HTTP request ser ut

GitHub

  • Maven
  • Github Actions
  • Working branch
  • Pull request
  • Test report

Socket, HTTP

  • Socket connects server
  • Status code
  • Header fields
  • Content-length
  • Message body

HttpServer

  • HttpServer should respond with 404
  • HttpServer should include request target in 404
  • Return a static content for /hello
  • Return HTML file from disk
  • Content-type
  • Return
  • Process GET request from form

Lecture 6:

  • Styling
  • Handle more than one request
    • Feilhåndtering
  • GET request with more than one field
  • Refactor -> HttpMessage class
  • Process POST request from form
    • URL encoding
  • Make executable JAR