Make Dispatcher class public or protected
|Reported by:||9902468||Owned by:|
|Component:||Server : Java||Version:|
Im using integration package in my software, and I cannot add the connector servlet to our software. Now, it would be easy to route all appropriate requests for the Dispatcher, but as it's constructor is protected I can not instantiate it. Also the doGet and doPost methods are protected.
I copied all code from this class to my own Dispatcher, and the only change was to mark those three as public. Everything works.
Could those be marked as public in the final release? (Then I could just instantiate your Dispatcher, and I could delete mine.)
Or is there good reason why this should be only instantiated by your servlet?
Change History (10)
comment:2 Changed 7 years ago by mosipov
- Summary changed from Java integration - Dispatcher class is protected to Make Dispatcher class public or protected