Skip to content

socrata-platform/socrata-http

Repository files navigation

Socrata-HTTP is a toolkit for HTTP client access and building rack-style servers. The server is Jetty-based, but not Servlet-based, though it does use HttpServletRequest and HttpServletResponse.

There is a minimal ExampleService.

There is a minimal sbt project using this as well.

There is an old example at TeaService, TeaRouter and TeaParty, but unfortunately only compiles with socrata-http 2.x.x.

Features

  • Zookeeper-based service discovery and registration
  • Graceful termination of requests at exit