• <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 大龍 閱讀(237) 評論(0)  編輯 收藏 引用

            久久综合精品国产一区二区三区| 亚洲国产婷婷香蕉久久久久久| 国内高清久久久久久| 婷婷伊人久久大香线蕉AV | 国产91久久综合| 青青草原综合久久大伊人导航| 一本久久免费视频| 精品久久8x国产免费观看| 国产精品99久久久久久董美香 | 久久久www免费人成精品| 欧美喷潮久久久XXXXx| 国产国产成人久久精品| 亚洲色欲久久久综合网| 精品久久久久中文字幕一区| 亚洲中文字幕久久精品无码APP | 久久久久99精品成人片欧美| 国产视频久久| 久久99精品国产麻豆宅宅| 欧美久久一级内射wwwwww.| 国产情侣久久久久aⅴ免费| 亚洲欧美一级久久精品| 成人综合伊人五月婷久久| 久久久久久久91精品免费观看| 97r久久精品国产99国产精| 久久久久亚洲AV成人网人人网站 | 久久亚洲熟女cc98cm| 久久精品成人免费国产片小草| 久久亚洲国产成人精品性色| 久久乐国产精品亚洲综合| 久久99国产精一区二区三区| 狼狼综合久久久久综合网| 国产精品99久久久精品无码| 国产视频久久| 久久久精品波多野结衣| 国产精品狼人久久久久影院 | 久久国产一区二区| 久久国产乱子精品免费女| 国产精品福利一区二区久久| 久久精品无码专区免费青青| 精品多毛少妇人妻AV免费久久| 欧美日韩精品久久久免费观看|