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

            99久久这里只精品国产免费| 99久久国产综合精品成人影院| 久久久久久无码国产精品中文字幕| 国产亚洲成人久久| 性做久久久久久免费观看| 一本一本久久a久久综合精品蜜桃| 久久99久久99精品免视看动漫| av无码久久久久不卡免费网站| 久久精品国产69国产精品亚洲| 久久精品人妻一区二区三区| 久久中文骚妇内射| 久久精品国产清自在天天线| 久久精品亚洲中文字幕无码麻豆 | 人妻少妇精品久久| 国产亚洲精品自在久久| 久久九九久精品国产| 国产99久久精品一区二区| 久久AV无码精品人妻糸列| 久久国产成人午夜aⅴ影院| 久久精品一本到99热免费| 少妇无套内谢久久久久| 久久99久久成人免费播放| 久久精品国产99国产精品澳门| 久久精品久久久久观看99水蜜桃| 国产精品99久久不卡| 99久久er这里只有精品18| 久久精品国产乱子伦| 亚洲国产成人精品久久久国产成人一区二区三区综 | 少妇精品久久久一区二区三区| 亚洲国产精品久久66| 中文字幕人妻色偷偷久久| 国产精品九九久久免费视频| 精品久久久久久无码专区| 久久久久高潮毛片免费全部播放| 囯产极品美女高潮无套久久久| 亚洲性久久久影院| 国产69精品久久久久APP下载| 欧美日韩成人精品久久久免费看| 99久久伊人精品综合观看| 91久久福利国产成人精品| 国产成人精品久久亚洲|