-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds the InputStreamInterceptor interface to allow users to plug in c…
…ustom interceptors for formats like Zstd. (#930) * Adds a StreamInterceptor interface to allow users to plug in custom interceptors for formats like Zstd. * Adds support for detection of interceptors on the classpath; renames StreamInterceptor to InputStreamInterceptor. * Addresses PR feedback on the addition of InputStreamInterceptor. * Adds support for detecting format headers from InputStreams that require multiple read() calls to produce enough bytes to fill a header. * Addresses more PR feedback. * Uses static initialization of stream interceptors instead of caching. * Makes manually added stream interceptors follow detected stream interceptors, rather than replacing them. * Renames InputStreamInterceptor methods to avoid referring to 'headers'. * Minor cleanups.
- Loading branch information
Showing
9 changed files
with
1,204 additions
and
583 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
Large diffs are not rendered by default.
Oops, something went wrong.
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.