I have created a jetty server where in handler class, i am passing entire request to the Thread and submitting the thread to Threadpool for later execution.
The Result is as :-
For first request it is working correctly as per expectation.
From second request onwards, the request object becomes null in run() method but not in the constructor.
In the handler method, if i am doing the Thread.sleep() with any non negative time value then it is working correctly. even with time = 0 milisecond until the load becomes too high.
Is there any reason related to multithreaded execution environment ??