forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace SpdyOrHttpChooser and Http2OrHttpChooser with ApplicationProt…
…ocolNegotiationHandler Motivation: SpdyOrHttpChooser and Http2OrHttpChooser duplicate fair amount code with each other. Modification: - Replace SpdyOrHttpChooser and Http2OrHttpChooser with ApplicationProtocolNegotiationHandler - Add ApplicationProtocolNames to define the known application-level protocol names Result: - Less code duplication - A user can perform dynamic pipeline configuration that follows ALPN/NPN for any protocols.
- Loading branch information
Showing
16 changed files
with
288 additions
and
400 deletions.
There are no files selected for viewing
176 changes: 0 additions & 176 deletions
176
codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyOrHttpChooser.java
This file was deleted.
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
170 changes: 0 additions & 170 deletions
170
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2OrHttpChooser.java
This file was deleted.
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
Oops, something went wrong.