Nordstrom / xrpc

Simple, production ready Java API server built on top of functional composition.
Apache License 2.0
17 stars 17 forks source link

xrpc should support filter-style Handlers with a way to pass context #133

Open jkinkead opened 6 years ago

jkinkead commented 6 years ago

We need to reimplement Netty pipelines have a user-friendly way to define simple filter handlers that are applied to inbound XrpcRequest objects.

pdex commented 6 years ago

Do we want to borrow from finagle here?

https://twitter.github.io/finagle/guide/ServicesAndFilters.html

jkinkead commented 6 years ago

That makes me glad we're not using Scala.

But yes, that's more or less what I was picturing.

xjdr commented 6 years ago

+1 for adopting finagle style service filtering