How to implement a request filter in HttpServer
forchid opened this issue · 5 comments
forchid commented
I want to add a user login check handler in my application when using the HttpServer, but I can't find a graceful way to do this in one.nio.http package.
apangin commented
I think HttpServer.handleRequest
is a right extension point for this.
What alternatives can you suggest if it does not suit?
forchid commented
apangin commented
Well, this is not really a request filter. It's more like partial or wildcard path matching that I'm going to implement some time soon.
incubos commented
Contributions are welcome.