public class LowPriorityHandler extends HttpHandler
HttpHandler executing long lasting task.| Constructor and Description |
|---|
LowPriorityHandler(ExecutorService threadPool) |
| Modifier and Type | Method and Description |
|---|---|
RequestExecutorProvider |
getRequestExecutorProvider() |
void |
service(Request request,
Response response)
This method should contain the logic for any HTTP extension to the
Grizzly HTTP web server.
|
destroy, getErrorPageGenerator, getName, getRequestURIEncoding, getSessionCookieName, getSessionManager, isAllowCustomStatusMessage, isAllowEncodedSlash, sendAcknowledgment, setAllowCustomStatusMessage, setAllowEncodedSlash, setDecodeUrl, setDispatcherHelper, setRequestURIEncoding, setRequestURIEncoding, start, updatePathspublic LowPriorityHandler(ExecutorService threadPool)
public RequestExecutorProvider getRequestExecutorProvider()
getRequestExecutorProvider in class HttpHandlerRequestExecutorProvider to be used to
call service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response).public void service(Request request, Response response) throws Exception
HttpHandlerservice in class HttpHandlerrequest - The Requestresponse - The ResponseExceptionCopyright © 2024 Oracle Corporation. All rights reserved.