Class DownloadHttpHandlerSample
java.lang.Object
org.glassfish.grizzly.samples.httpserver.nonblockinghandler.DownloadHttpHandlerSample
The sample shows how the HttpHandler should be implemented in order to
send large amount of data to a client in a non-blocking mode.
This sample is not intended to show the most optimal way to transfer file
data to a client. It supposed to demonstrate how to work with NIO output stream.
- Author:
- Alexey Stashok
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DownloadHttpHandlerSample
public DownloadHttpHandlerSample()
-
-
Method Details
-
main
-