ã¯ããã«ããJavaã«ããç°¡æHTTPãµã¼ãã¼ã®ä½æã第4åç®ã®ä»åã¯ãã¯ã©ã¤ã¢ã³ãã¨ã®éä¿¡ã«ãããã¾ã§å©ç¨ãã¦ããSocketã§ã¯ãªããNIOã§æä¾ãããSocketChannelãå©ç¨ãã¾ãããSocketã§ã¯ãå®éã®å ¥åºåã«ã¯Streamãå©ç¨ãã¾ãããã®æãä¾ãã°InputStream#readãå¼ã³åºãã¨ããã¼ã¿ãèªã¿è¾¼ã¿å¯è½ã«ãªããä¾å¤ã«ãªãã¾ã§ã¯readã¡ã½ããããå¶å¾¡ãæ»ãã¾ããããã®ãããåæã«è¤æ°ã®ã¯ã©ã¤ã¢ã³ãããã®è¦æ±ãå¦çããããã«ã¯ãã¯ã©ã¤ã¢ã³ããã¨ã«ã¹ã¬ãããå©ç¨ããå¿ è¦ãããã¾ããããããã«å¯¾ãã¦ãSocketChannelãéãããã¯ã¢ã¼ãã§å©ç¨ããã¨ãã¾ã ãã¼ã¿ãå°éãã¦ããªãããããã¯ã·ã¹ãã ã®éä¿¡ç¨ãããã¡ããã«ã«ãªã£ã¦ãããªã©ã®çç±ã§ãã¼ã¿ã転éã§ããªãæã«ã¯ãå¶å¾¡ãå¼ã³åºãå´ã«æ»ããã¾ãï¼ãããJ2SEã®APIããã¥ã¡ã³ãã§ã¯ãéãããã¯æ¥ç¶ãã¨å¼
{{#tags}}- {{label}}
{{/tags}}