-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…2089) Motivation: In #1956 `StreamingHttpRequester` defines a new method `request(StreamingHttpRequest)`. `AbstractStreamingHttpConnection` only implements the deprecated method that also takes an `HttpExecutionStrategy`. Users who apply a filter through `ConnectionFactory` see `UnsupportedOperationException`. Also, if they have 2+ filters applied through `ConnectionFactory`, they can not mix deprecated and new API. Modifications: - Implement `AbstractStreamingHttpConnection#request(StreamingHttpRequest)`; - Enhance `NewToDeprecatedFilter` to be `ConnectionFactoryFilter` too; - Apply `NewToDeprecatedFilter` when users invoke `appendConnectionFactoryFilter`; - Test `appendConnectionFactoryFilter` in `MixedFiltersTest`; Result: Users who apply request/response filters through `ConnectionFactory` can migrate from deprecated to new `request(StreamingHttpRequest)` API.
- Loading branch information
1 parent
a4dd491
commit ccbe7f9
Showing
7 changed files
with
159 additions
and
68 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
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.