Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 623 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 623 Bytes

Java web server

Web server usando Java puro. Para estudos apenas.

Local tests

Printar retorno usando gzip

curl --compressed -v -H "Accept-Encoding: gzip" http://localhost:4221/echo/abc

Http post para criar arquivos

curl -v --data "12345" -H "Content-Type: application/octet-stream" http://localhost:4221/files/file_123

Http get obter arquivo criado

curl -v --header "User-Agent: cuica" http://localhost:4221/files/file_123

TODO

  • Sistema de logs
  • Performance
  • Implementar Servlets
  • Container

Créditos