• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            大龍的博客

            常用鏈接

            統計

            最新評論

            Question about URLConnection

            I have found that class "URLConnection" has methods to establish a connection, for example, method "openConnection" and method "connect". But I have not found any methods of this class which are dealing with disconnect. I am wondering if I use class "URLConnection" to establish an HTTP connection to a remote host, what is the correct, clean and efficient approach to disconnect from remote host or close the connection.

            1) for HTTP why not use HttpURLConnection instead?
            2) HTTP is a stateless protocol meaning the server will close the connection for you.
            3) if you close all streams you get from the URLConnection the connection is gone.


            posted on 2011-09-23 05:22 大龍 閱讀(243) 評論(0)  編輯 收藏 引用

            久久久艹| 国产人久久人人人人爽| 亚洲欧美一级久久精品| 伊人久久大香线蕉综合Av| 国内精品久久久久影院一蜜桃| 狠狠色婷婷综合天天久久丁香| 久久精品中文字幕第23页| 久久久久免费精品国产| 成人久久综合网| 久久天天躁夜夜躁狠狠躁2022| 久久精品国产半推半就| 久久精品aⅴ无码中文字字幕不卡| 国产亚洲色婷婷久久99精品| 久久久久久国产a免费观看黄色大片| 国产亚洲欧美精品久久久 | 成人综合久久精品色婷婷| 久久99久久99精品免视看动漫| 伊人热热久久原色播放www| 九九久久99综合一区二区| 亚洲AV无码久久精品成人| 久久精品国产亚洲一区二区三区| 午夜精品久久久久久久| 久久天天躁狠狠躁夜夜2020一| 欧美久久久久久精选9999| 国产午夜久久影院| 亚洲国产精品成人久久| 久久国产欧美日韩精品免费| 久久九色综合九色99伊人| 93精91精品国产综合久久香蕉 | 久久青青草原亚洲av无码app| 亚洲天堂久久久| 久久久黄色大片| 老男人久久青草av高清| 久久精品二区| 久久久久亚洲AV成人网人人网站 | 国产亚洲精午夜久久久久久| 久久w5ww成w人免费| 久久久久成人精品无码中文字幕| 色综合久久无码中文字幕| 亚洲伊人久久精品影院| 中文字幕日本人妻久久久免费|