| Package | Description |
|---|---|
| org.glassfish.grizzly.http.server |
| Modifier and Type | Class 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 |
|---|---|
RequestExecutorProvider |
HttpHandler.getRequestExecutorProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Request.setRequestExecutorProvider(RequestExecutorProvider requestExecutorProvider)
Sets @return the
RequestExecutorProvider 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. |
Copyright © 2015 Oracle Corporation. All Rights Reserved.