Package com.rest
Class CommandHandler
java.lang.Object
com.rest.CommandHandler
- All Implemented Interfaces:
com.sun.net.httpserver.HttpHandler
public class CommandHandler
extends java.lang.Object
implements com.sun.net.httpserver.HttpHandler
-
Constructor Summary
Constructors Constructor Description CommandHandler()
-
Method Summary
Modifier and Type Method Description void
handle(com.sun.net.httpserver.HttpExchange exchange)
Handler
-
Constructor Details
-
CommandHandler
public CommandHandler()
-
-
Method Details
-
handle
public void handle(com.sun.net.httpserver.HttpExchange exchange) throws java.io.IOExceptionHandler
Redirige los comandos- Specified by:
handle
in interfacecom.sun.net.httpserver.HttpHandler
- Parameters:
exchange
- peticion de http- Throws:
java.io.IOException
-