Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR will allow multiple Thrift services to be bind on an HTTP path, also supporting `TMultiplexed ` protocol. **Changes**: 1. `ThriftFunction` holds reference of the implementation 2. `ThriftServiceMetadata` now can take a list of thrift service implementations and can hold a mapping between the method name and `ThriftFunction`. 3. Introduced `THttpServiceBuilder` to fluently build instance of `THttpService`. **Deprecations**: 1. API's in`THttpService` that take `Map<String, ?>` are deprecated in favor of `THttpServiceBuiler.ofService(String serviceName, Object implementation)`. **Breaking changes**: 1. `ThriftCallService` factory method with signature `ThriftCallService of(Map<String, ? extends Iterable<?>> implementation)` is changed to `ThriftCallService of(Map<String, ? extends Iterable<?>> implementations)` Closes: #2164
- Loading branch information
Showing
9 changed files
with
429 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.