<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                請注意,當您使用 Jetty NPN 庫需要提供它的位置通過 bootclasspath 的 JVM 參數。這一步是必需的,這樣才能訪問 SslEngine接口。(`-Xbootclasspath`?選項允許您覆蓋標準 JDK 附帶的實現類)。 下面的清單顯示了特殊的參數(`-Xbootclasspath`)使用。 Listing 12.7 SpdyServer implementation ~~~ java -Xbootclasspath/p:<path_to_npn_boot_jar> .... ~~~ 最簡單的方式是使用 Maven 項目管理: Listing 12.8 Compile and start SpdyServer with Maven ~~~ $ mvn clean package exec:exec -Pchapter12-SpdyServer [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building netty-in-action 0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ ... ... ... [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ netty-in-action --- [INFO] Building jar: /Users/norman/Documents/workspace-intellij/netty-in-actionprivate/ target/netty-in-action-0.1-SNAPSHOT.jar [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (default-cli) @ netty-in-action --- ~~~ 可以用2個瀏覽器進行測試,一個支持 SPDY 一個不支持,這里我們用的是 Google Chrome (支持 SPDY) 和 Safari。 瀏覽器訪問?[https://127.0.0.1:9999,會顯示](https://127.0.0.1:9999%EF%BC%8C%E4%BC%9A%E6%98%BE%E7%A4%BA/)?SpdyRequestHandler 的處理結果,如下圖 [![](https://box.kancloud.cn/2015-08-19_55d479bdaed92.jpg)](https://github.com/waylau/essential-netty-in-action/blob/master/images/Figure%2012.4%20SPDY%20supported%20by%20Google%20Chrome.jpg) Figure 12.4 SPDY supported by Google Chrome Google Chrome 的一個很好的功能是可以統計數據,可以很好的看到連接情況。 在瀏覽器中訪問 chrome://net-internals/#spdy 可以看到詳細的統計數據 [![](https://box.kancloud.cn/2015-08-19_55d479c42f022.jpg)](https://github.com/waylau/essential-netty-in-action/blob/master/images/Figure%2012.5%20SPDY%20statistics.jpg) Figure 12.5 SPDY statistics 若不支持 SPDY ,比如我們用 Safari 瀏覽器訪問?[https://127.0.0.1:9999](https://127.0.0.1:9999/)?,則響應將會用 HttpRequestHandler 處理 [![](https://box.kancloud.cn/2015-08-19_55d479c72ddb1.jpg)](https://github.com/waylau/essential-netty-in-action/blob/master/images/Figure%2012.7%20SPDY%20not%20supported%20by%20Safari.jpg) Figure 12.7 SPDY not supported by Safari
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看