java.lang.Object
com.rest.Handler
- All Implemented Interfaces:
com.sun.net.httpserver.HttpHandler
public class Handler
extends java.lang.Object
implements com.sun.net.httpserver.HttpHandler
-
Constructor Summary
Constructors
Constructor |
Description |
Handler() |
|
-
Method Summary
Modifier and Type |
Method |
Description |
void |
handle(com.sun.net.httpserver.HttpExchange t) |
Handler
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
public void handle(com.sun.net.httpserver.HttpExchange t)
throws java.io.IOException
Handler
Sample
- Specified by:
handle
in interface com.sun.net.httpserver.HttpHandler
- Parameters:
t
- peticion de http
- Throws:
java.io.IOException