Package server

Class GetChatHandler

java.lang.Object
server.GetChatHandler
All Implemented Interfaces:
HttpHandler

public class GetChatHandler extends Object implements HttpHandler
  • Constructor Details

  • Method Details

    • handle

      public void handle(HttpExchange httpexchange) throws IOException
      Http handler for getting the contents of a chat. Request with "curl http://localhost:2345/get_chat/{chatname}"
      Specified by:
      handle in interface HttpHandler
      Throws:
      IOException