This repository holds a small collection of useful utilties for use with HTTP Remoting setups, in particular those that use Feign as a client and Jersey as a server.
Provides Feign decoders for translating HTTP error codes to appropriate JAX-RS Java exceptions, and utilities for creating Feign clients in commonly used configurations. Additionally, offers a basic round-robin failover client configuration for basic failover between multiple equivalent endpoints.
Provides utiltiies for interacting with Java trust stores and acquiring SSLSocketFactory
instances using those trust stores, as well as a configuration class for use in server
configuration files.
Provides utilities for relaying Java exceptions across JVM boundaries by serializing exceptions as JSON POJOs.
Provides Dropwizard/Jersey exception mappers for translating common JAX-RS exceptions to appropriate HTTP error codes.
This repository is made available under the Apache 2.0 License.