Package server
Class GetChatHandler
java.lang.Object
server.GetChatHandler
- All Implemented Interfaces:
HttpHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(HttpExchange httpexchange) Http handler for getting the contents of a chat.
-
Constructor Details
-
GetChatHandler
-
-
Method Details
-
handle
Http handler for getting the contents of a chat. Request with "curl http://localhost:2345/get_chat/{chatname}"- Specified by:
handlein interfaceHttpHandler- Throws:
IOException
-