public interface RequestExecutorProvider
HttpHandler.service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response)
and notifying ReadHandler
, WriteHandler
registered by the
user.Modifier and Type | Interface and Description |
---|---|
static class |
RequestExecutorProvider.SameThreadProvider
The
RequestExecutorProvider implementation, which always returns
null to force the user code to be executed on the current Thread . |
static class |
RequestExecutorProvider.WorkerThreadProvider
The
RequestExecutorProvider implementation, which checks if the
current Thread is a service Thread (see Threads.isService() ). |
Modifier and Type | Method and Description |
---|---|
Executor |
getExecutor(Request request)
|
Copyright © 2015 Oracle Corporation. All rights reserved.