public class HighPriorityHandler extends HttpHandler
HttpHandler
we want to be processed as fast as possible.Constructor and Description |
---|
HighPriorityHandler(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 HighPriorityHandler(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.