Phantom is a high performance proxy for accessing distributed services. It is an RPC system with support for different transports and protocols. Phantom is inspired by Twitter Finagle clients and builds on the capabilities of technologies like Netty, Unix Domain Sockets, Netflix Hystrix and Spring. Phantom proxies have been used to serve several hundred million API calls in production deployments at Flipkart.
50
stars
27
forks
source link
Fix for IllegalStateException in ClientRequestInterceptor #54
Headers won't be present in TaskRequestWrapper. Hence Optional.isPresent() is required before calling get() which is already implemented correctly in ServerRequestInterceptor. Putting the fix in ClientRequestInterceptor.
Headers won't be present in TaskRequestWrapper. Hence Optional.isPresent() is required before calling get() which is already implemented correctly in ServerRequestInterceptor. Putting the fix in ClientRequestInterceptor.