Issue Details (XML | Word | Printable)

Key: GRIZZLY_SENDFILE-1
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Igor Minar
Reporter: Igor Minar
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
grizzly-sendfile

Option to pragmatically create and pass in SendfileConfig

Created: 08/May/09 03:02 AM   Updated: 21/Jul/09 07:03 AM   Resolved: 21/Jul/09 07:03 AM
Component/s: grizzly-sendfile core, grizzly-sendfile-server
Affects Version/s: None
Fix Version/s: 0.3.1

Time Tracking:
Not Specified

Tags:


 Description  « Hide

Currently the only way to configure grizzly-sendfile is to specify JVM properties, which are then parsed by the default contructor of SendfileConfig.

This is very inflexible and forces grizzly-sendfile-server to use some pretty ugly code to allow users to specify options via CLI arguments.

Ideally the SendfileConfig should use the builder pattern to make it easy to create the config file, set defaults and enforce object immutability once the construction is complete.



Igor Minar added a comment - 21/Jul/09 07:03 AM

fixed in 141de7f1e2a3