shelf icon indicating copy to clipboard operation
shelf copied to clipboard

Drop the ServerHandler class

Open natebosch opened this issue 4 years ago • 1 comments
trafficstars

Based on the implementation it seems to exist to allow a late binding between a Server and a Handler. The comment mentions "This is used to expose a virtual [Server] that's actually one part of a larger URL-space." but there is no code related to partitioning URLs.

I cannot find any uses, and I can't think of a particular reason a late binding would be useful. If it does turn out to be useful I think we could write it in a more straightforward way.

We should deprecate the class for now, and remove it in the next major version.

natebosch avatar Oct 05 '21 23:10 natebosch

Agreed. I asked about this a while ago and came to a similar conclusion!

kevmoo avatar Oct 05 '21 23:10 kevmoo