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
Nested ClassesModifier and TypeInterfaceDescriptionstatic classTheRequestExecutorProviderimplementation, which always returns null to force the user code to be executed on the currentThread.static classTheRequestExecutorProviderimplementation, which checks if the currentThreadis a serviceThread(seeThreads.isService()). -
Method Summary