Class getUserHandler
- java.lang.Object
-
- org.example.model.communication.server.handlers.getUserHandler
-
- All Implemented Interfaces:
com.sun.net.httpserver.HttpHandler
public class getUserHandler extends java.lang.Object implements com.sun.net.httpserver.HttpHandler
-
-
Constructor Summary
Constructors Constructor Description getUserHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(com.sun.net.httpserver.HttpExchange httpExchange)
static void
sendResponse(com.sun.net.httpserver.HttpExchange httpExchange, java.lang.String body)
-
-
-
Method Detail
-
handle
public void handle(com.sun.net.httpserver.HttpExchange httpExchange) throws java.io.IOException
- Specified by:
handle
in interfacecom.sun.net.httpserver.HttpHandler
- Throws:
java.io.IOException
-
sendResponse
public static void sendResponse(com.sun.net.httpserver.HttpExchange httpExchange, java.lang.String body) throws java.io.IOException
- Throws:
java.io.IOException
-
-