Ktt-Development/simplehttpserver

Replace predicate handler predicate with Predicate<HttpExchange>

Katsute opened this issue · 0 comments

Prerequisites

If all checks are not passed then the request will be closed

  • I have checked that no other similar feature request already exists
  • The feature request makes sense for the project

Proposal

Describe the feature that should be added
Change predicate handler so it uses a Predicate<HttpExchange> instead of a Predicate<SimpleHttpExchange>.

Reasoning

Explain why this feature should be added
The library should be compatible with the native sun http server, and the handler already has the native HttpHandler as the parameters.