Package tigase.http.java
Class RequestHandler
- java.lang.Object
-
- tigase.http.java.RequestHandler
-
- All Implemented Interfaces:
com.sun.net.httpserver.HttpHandler
public class RequestHandler extends java.lang.Object implements com.sun.net.httpserver.HttpHandler
- Author:
- andrzej
-
-
Constructor Summary
Constructors Constructor Description RequestHandler(JavaStandaloneHttpServer server, DeploymentInfo info, JavaStandaloneHttpServer.ExecutorWithTimeout.Timer timer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Integer
getRequestId()
void
handle(com.sun.net.httpserver.HttpExchange he)
static void
setRequestId()
-
-
-
Constructor Detail
-
RequestHandler
public RequestHandler(JavaStandaloneHttpServer server, DeploymentInfo info, JavaStandaloneHttpServer.ExecutorWithTimeout.Timer timer) throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
-
Method Detail
-
setRequestId
public static void setRequestId()
-
getRequestId
public static java.lang.Integer getRequestId()
-
handle
public void handle(com.sun.net.httpserver.HttpExchange he) throws java.io.IOException
- Specified by:
handle
in interfacecom.sun.net.httpserver.HttpHandler
- Throws:
java.io.IOException
-
-