Interface RequestExecutorProvider
- All Known Implementing Classes:
RequestExecutorProvider.SameThreadProvider
,RequestExecutorProvider.WorkerThreadProvider
public interface RequestExecutorProvider
An implementation of this interface will be responsible for executing user's code in
HttpHandler.service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response)
and notifying ReadHandler
, WriteHandler
registered by the user.- Author:
- Alexey Stashok
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
TheRequestExecutorProvider
implementation, which always returns null to force the user code to be executed on the currentThread
.static class
TheRequestExecutorProvider
implementation, which checks if the currentThread
is a serviceThread
(seeThreads.isService()
). -
Method Summary