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, updatePaths
public LowPriorityHandler(ExecutorService threadPool)
public RequestExecutorProvider getRequestExecutorProvider()
getRequestExecutorProvider
in class HttpHandler
RequestExecutorProvider
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
HttpHandler
service
in class HttpHandler
request
- The Request
response
- The Response
Exception
Copyright © 2015 Oracle Corporation. All rights reserved.