add java doc / support for POST method / add Servable interface