{"id":313880,"date":"2024-05-20T23:17:21","date_gmt":"2024-05-20T15:17:21","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/313880.html"},"modified":"2024-05-20T23:17:36","modified_gmt":"2024-05-20T15:17:36","slug":"java-nio%e6%9c%89%e5%93%aa%e4%ba%9b%e4%b8%8d%e5%a5%bd%e7%9a%84%e5%9c%b0%e6%96%b9","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/313880.html","title":{"rendered":"Java NIO\u6709\u54ea\u4e9b\u4e0d\u597d\u7684\u5730\u65b9"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27033253\/bb159100-808f-4092-9d4f-469441497dee.webp\" alt=\"Java NIO\u6709\u54ea\u4e9b\u4e0d\u597d\u7684\u5730\u65b9\" \/><\/p>\n<p><p>Java NIO\u662fJava\u975e\u963b\u585eI\/O\uff08New Input\/Output\uff09\u7684\u7b80\u79f0\uff0c\u662f\u4eceJava 1.4\u7248\u672c\u5f00\u59cb\u5f15\u5165\u7684\u4e00\u5957\u65b0\u7684I\/O API\uff0c\u7528\u4ee5\u63d0\u9ad8I\/O\u64cd\u4f5c\u7684\u6548\u7387\u3002\u7136\u800c\uff0c\u5c3d\u7ba1Java NIO\u63d0\u4f9b\u4e86\u975e\u963b\u585e\u3001\u9009\u62e9\u5668\uff08Selectors\uff09\u3001\u901a\u9053\uff08Channels\uff09\u548c\u7f13\u51b2\u533a\uff08Buffers\uff09\u7b49\u9ad8\u6548\u7684I\/O\u64cd\u4f5c\u65b9\u5f0f\uff0c<strong>\u4f46\u5b83\u4e5f\u5b58\u5728\u4e00\u4e9b\u4e0d\u8db3\u4e4b\u5904\uff0c\u4e3b\u8981\u5305\u62ec\uff1a\u590d\u6742\u6027\u9ad8\u3001\u76f4\u63a5\u7f13\u51b2\u533a\u7684\u6210\u672c\u548c\u7ba1\u7406\u96be\u9898\u3001\u975e\u963b\u585e\u6a21\u5f0f\u7684\u7f16\u7a0b\u96be\u5ea6\u5927<\/strong>\u7b49\u3002<strong>\u5176\u4e2d\uff0c\u590d\u6742\u6027\u9ad8<\/strong>\u662fJava NIO\u6700\u663e\u8457\u7684\u4e0d\u8db3\u4e4b\u4e00\u3002\u4e0e\u4f20\u7edf\u7684\u963b\u585eI\/O\u6a21\u578b\u76f8\u6bd4\uff0cJava NIO\u7684\u7406\u5ff5\u3001\u67b6\u6784\u548c\u4f7f\u7528\u65b9\u5f0f\u90fd\u66f4\u4e3a\u590d\u6742\u3002\u5f00\u53d1\u8005\u9700\u8981\u7406\u89e3\u5176\u6982\u5ff5\u6a21\u578b\uff0c\u5982\u901a\u9053\u548c\u7f13\u51b2\u533a\u7684\u4ea4\u4e92\u3001\u9009\u62e9\u5668\u7684\u5de5\u4f5c\u673a\u5236\u7b49\uff0c\u8fd9\u589e\u52a0\u4e86\u5b66\u4e60\u548c\u4f7f\u7528\u7684\u96be\u5ea6\u3002\u6b64\u5916\uff0c\u6b63\u786e\u5730\u7ba1\u7406NIO\u7684\u9ad8\u7ea7\u7279\u6027\uff0c\u5982\u7f13\u51b2\u533a\u7684\u5206\u914d\u548c\u56de\u6536\u3001\u9009\u62e9\u952e\uff08SelectionKey\uff09\u7684\u72b6\u6001\u7ba1\u7406\uff0c\u5bf9\u4e8e\u5f00\u53d1\u8005\u800c\u8a00\u4e5f\u662f\u4e00\u5927\u6311\u6218\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u590d\u6742\u6027\u9ad8<\/h2>\n<\/p>\n<p><p>Java NIO\u4e4b\u6240\u4ee5\u590d\u6742\uff0c\u9996\u5148\u5728\u4e8e\u5176\u8bbe\u8ba1\u7406\u5ff5\u4e0e\u4f20\u7edf\u7684I\/O\u6d41\u6a21\u5f0f\u6709\u5f88\u5927\u5dee\u5f02\u3002\u5728\u4f20\u7edf\u7684I\/O\u4e2d\uff0c\u5f53\u4e00\u4e2a\u7ebf\u7a0b\u8c03\u7528read()\u6216write()\u65f6\uff0c\u5b83\u4f1a\u963b\u585e\u76f4\u5230\u6709\u4e00\u4e9b\u6570\u636e\u88ab\u5b8c\u5168\u5904\u7406\u3002\u800c\u5728NIO\u4e2d\uff0c\u6570\u636e\u7684\u8bfb\u5199\u8fc7\u7a0b\u662f\u975e\u963b\u585e\u7684\uff0c\u9700\u8981\u901a\u8fc7\u7f13\u51b2\u533a\u6765\u4e34\u65f6\u5b58\u50a8\u6570\u636e\uff0c\u7136\u540e\u901a\u8fc7\u901a\u9053\u8fdb\u884c\u4f20\u8f93\u3002\u8fd9\u79cd\u6a21\u5f0f\u63d0\u5347\u4e86\u6548\u7387\uff0c\u4f46\u4e5f\u589e\u52a0\u4e86\u7f16\u7a0b\u7684\u590d\u6742\u5ea6\u3002<\/p>\n<\/p>\n<p><p>\u9664\u6b64\u4e4b\u5916\uff0c\u9009\u62e9\u5668\uff08Selectors\uff09\u7684\u5f15\u5165\u8ba9\u5355\u4e2a\u7ebf\u7a0b\u53ef\u4ee5\u5904\u7406\u591a\u4e2a\u8f93\u5165\u548c\u8f93\u51fa\u901a\u9053\uff0c\u8fd9\u662f\u4e00\u79cd\u8d44\u6e90\u5229\u7528\u7387\u9ad8\u7684\u65b9\u5f0f\uff0c\u4f46\u5b83\u4e5f\u8981\u6c42\u5f00\u53d1\u8005\u5fc5\u987b\u66f4\u52a0\u4ed4\u7ec6\u5730\u63a7\u5236\u901a\u9053\u7684\u72b6\u6001\u548c\u9009\u62e9\u952e\u7684\u751f\u547d\u5468\u671f\u3002\u6b63\u786e\u5730\u7ef4\u62a4\u9009\u62e9\u952e\u7684\u72b6\u6001\uff08\u5982\u611f\u5174\u8da3\u7684\u64cd\u4f5c\u3001\u9644\u4ef6\u5bf9\u8c61\u7b49\uff09\uff0c\u5904\u7406\u5c31\u7eea\u7684\u901a\u9053\u96c6\u5408\uff0c\u8fd9\u4e9b\u90fd\u9700\u8981\u7cbe\u7ec6\u7684\u63a7\u5236\u548c\u6df1\u5165\u7684\u7406\u89e3\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u76f4\u63a5\u7f13\u51b2\u533a\u7684\u6210\u672c\u548c\u7ba1\u7406\u96be\u9898<\/h2>\n<\/p>\n<p><p>Java NIO\u5141\u8bb8\u521b\u5efa\u76f4\u63a5\u7f13\u51b2\u533a\uff0c\u8fd9\u79cd\u7f13\u51b2\u533a\u53ef\u4ee5\u5728Java\u5806\u5916\u76f4\u63a5\u5206\u914d\u7269\u7406\u5185\u5b58\u3002\u8fd9\u6837\u505a\u7684\u597d\u5904\u662f\u80fd\u591f\u5728\u67d0\u4e9b\u573a\u666f\u4e0b\u63d0\u9ad8\u6027\u80fd\uff0c\u56e0\u4e3a\u5b83\u51cf\u5c11\u4e86\u6570\u636e\u5728Java\u5806\u548c\u539f\u751f\u5185\u5b58\u4e2d\u7684\u590d\u5236\u6b21\u6570\u3002\u7136\u800c\uff0c<strong>\u76f4\u63a5\u7f13\u51b2\u533a\u7684\u5206\u914d\u548c\u56de\u6536\u6210\u672c\u76f8\u5bf9\u8f83\u9ad8<\/strong>\uff0c\u800c\u4e14\u5728Java\u865a\u62df\u673a\uff08JVM\uff09\u7684\u5783\u573e\u6536\u96c6\u673a\u5236\u4e4b\u5916\uff0c\u8fd9\u4f7f\u5f97\u76f4\u63a5\u7f13\u51b2\u533a\u7684\u7ba1\u7406\u53d8\u5f97\u66f4\u52a0\u56f0\u96be\u3002<\/p>\n<\/p>\n<p><p>\u76f4\u63a5\u7f13\u51b2\u533a\u7684\u5206\u914d\u6d89\u53ca\u5230\u5e95\u5c42\u7cfb\u7edf\u7684\u5185\u5b58\u5206\u914d\uff0c\u8fd9\u901a\u5e38\u6bd4\u5206\u914dJava\u5806\u5185\u5b58\u8981\u6162\u5f97\u591a\u3002\u6b64\u5916\uff0c\u76f4\u63a5\u7f13\u51b2\u533a\u4e0d\u53d7JVM\u5783\u573e\u6536\u96c6\u5668\u7684\u7ba1\u7406\uff0c\u5982\u679c\u4e0d\u6b63\u786e\u5730\u91ca\u653e\u8fd9\u4e9b\u7f13\u51b2\u533a\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u5185\u5b58\u6cc4\u6f0f\uff0c\u751a\u81f3\u662f\u7cfb\u7edf\u7684\u5185\u5b58\u8d44\u6e90\u7d27\u5f20\u3002\u8981\u6709\u6548\u7ba1\u7406\u8fd9\u4e9b\u76f4\u63a5\u7f13\u51b2\u533a\uff0c\u5f00\u53d1\u8005\u9700\u8981\u660e\u786e\u5730\u8c03\u7528\u6e05\u7406\u65b9\u6cd5\uff0c\u8fd9\u4e0d\u662f\u4e00\u4e2a\u81ea\u52a8\u5316\u7684\u8fc7\u7a0b\uff0c\u589e\u52a0\u4e86\u5f00\u53d1\u7684\u8d1f\u62c5\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001\u975e\u963b\u585e\u6a21\u5f0f\u7684\u7f16\u7a0b\u96be\u5ea6\u5927<\/h2>\n<\/p>\n<p><p>\u975e\u963b\u585e\u6a21\u5f0f\u662fJava NIO\u7684\u4e00\u4e2a\u6838\u5fc3\u7279\u5f81\uff0c\u5b83\u5141\u8bb8I\/O\u64cd\u4f5c\u5728\u6ca1\u6709\u6570\u636e\u53ef\u4ee5\u8bfb\u53d6\u6216\u5199\u5165\u65f6\u7acb\u5373\u8fd4\u56de\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u5728\u5355\u4e2a\u7ebf\u7a0b\u5185\u540c\u65f6\u5904\u7406\u591a\u4e2a\u6570\u636e\u901a\u9053\u3002\u7136\u800c\uff0c<strong>\u8fd9\u79cd\u6a21\u5f0f\u8981\u6c42\u5f00\u53d1\u8005\u5bf9\u7ebf\u7a0b\u3001\u6570\u636e\u72b6\u6001\u548c\u9519\u8bef\u5904\u7406\u6709\u7740\u6781\u9ad8\u7684\u638c\u63e1\u5ea6<\/strong>\uff0c\u5e76\u80fd\u591f\u5b9e\u73b0\u8f83\u4e3a\u590d\u6742\u7684\u63a7\u5236\u903b\u8f91\u4ee5\u5e94\u5bf9\u5404\u79cdI\/O\u573a\u666f\u3002<\/p>\n<\/p>\n<p><p>\u5728\u975e\u963b\u585e\u6a21\u5f0f\u4e0b\uff0c\u5f00\u53d1\u8005\u9700\u8981\u4e0d\u65ad\u5730\u67e5\u8be2\u901a\u9053\u7684\u72b6\u6001\uff0c\u4ee5\u786e\u5b9a\u662f\u5426\u6709\u6570\u636e\u53ef\u8bfb\u5199\uff0c\u6216\u8005\u662f\u5426\u53ef\u4ee5\u8fdb\u884c\u5176\u4ed6I\/O\u64cd\u4f5c\uff0c\u8fd9\u901a\u5e38\u6d89\u53ca\u5230\u590d\u6742\u7684\u5faa\u73af\u548c\u72b6\u6001\u68c0\u67e5\u903b\u8f91\u3002\u6b64\u5916\uff0c\u9519\u8bef\u5904\u7406\u4e5f\u66f4\u4e3a\u590d\u6742\uff0c\u56e0\u4e3a\u5728\u975e\u963b\u585e\u6a21\u5f0f\u4e0b\uff0cI\/O\u64cd\u4f5c\u53ef\u80fd\u4f1a\u5728\u4efb\u4f55\u65f6\u95f4\u70b9\u5931\u8d25\uff0c\u800c\u4e14\u9519\u8bef\u53ef\u80fd\u4e0d\u4f1a\u7acb\u5373\u88ab\u68c0\u6d4b\u5230\uff0c\u8fd9\u8981\u6c42\u5f00\u53d1\u8005\u80fd\u591f\u6709\u6548\u5730\u8bc6\u522b\u548c\u5904\u7406\u8fd9\u4e9b\u5f02\u6b65\u64cd\u4f5c\u4e2d\u7684\u9519\u8bef\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001\u6027\u80fd\u95ee\u9898\u548c\u573a\u666f\u9650\u5236<\/h2>\n<\/p>\n<p><p>\u5c3d\u7ba1Java NIO\u5728\u8bbe\u8ba1\u4e0a\u65e8\u5728\u63d0\u4f9b\u66f4\u9ad8\u7684I\/O\u6027\u80fd\uff0c\u4f46\u5728\u67d0\u4e9b\u573a\u666f\u4e0b\uff0c\u5b83\u7684\u6027\u80fd\u5e76\u4e0d\u603b\u662f\u80dc\u8fc7\u4f20\u7edf\u7684\u963b\u585eI\/O\u3002\u4e00\u65b9\u9762\uff0cNIO\u7684\u975e\u963b\u585e\u7279\u6027\u548c\u9009\u62e9\u5668\u673a\u5236\u867d\u7136\u53ef\u4ee5\u5728\u5904\u7406\u5927\u91cf\u8fde\u63a5\u65f6\u964d\u4f4e\u8d44\u6e90\u6d88\u8017\uff0c\u4f46\u5728\u4f4e\u8d1f\u8f7d\u6216\u6570\u636e\u91cf\u5c0f\u7684\u573a\u666f\u4e0b\uff0c\u8fd9\u4e9b\u7279\u6027\u53ef\u80fd\u4e0d\u4f1a\u5e26\u6765\u660e\u663e\u7684\u6027\u80fd\u4f18\u52bf\u3002<\/p>\n<\/p>\n<p><p>\u53e6\u4e00\u65b9\u9762\uff0c<strong>\u7531\u4e8e\u76f4\u63a5\u7f13\u51b2\u533a\u7684\u5206\u914d\u548c\u91ca\u653e\u6210\u672c\u8f83\u9ad8<\/strong>\uff0c\u9891\u7e41\u5730\u4f7f\u7528\u76f4\u63a5\u7f13\u51b2\u533a\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u53ef\u80fd\u4f1a\u5f71\u54cd\u7a0b\u5e8f\u7684\u6574\u4f53\u6027\u80fd\u3002\u6b64\u5916\uff0cJava NIO\u7684API\u590d\u6742\u6027\u548c\u7f16\u7a0b\u96be\u5ea6\u53ef\u80fd\u4e5f\u4f1a\u95f4\u63a5\u5f71\u54cd\u5230\u7a0b\u5e8f\u7684\u6027\u80fd\uff0c\u56e0\u4e3a\u975e\u4f18\u5316\u7684NIO\u4ee3\u7801\u53ef\u80fd\u4f1a\u5bfc\u81f4\u8d44\u6e90\u5229\u7528\u4e0d\u5f53\uff0c\u4ece\u800c\u964d\u4f4e\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><h2>\u4e94\u3001\u603b\u7ed3\u4e0e\u5efa\u8bae<\/h2>\n<\/p>\n<p><p>\u867d\u7136Java NIO\u5177\u6709\u5176\u663e\u8457\u7684\u4f18\u70b9\uff0c\u7279\u522b\u662f\u5728\u9ad8\u8d1f\u8f7d\u548c\u9ad8\u5e76\u53d1\u7684\u5e94\u7528\u573a\u666f\u4e2d\uff0c\u4f46\u5b83\u7684\u590d\u6742\u6027\u3001\u76f4\u63a5\u7f13\u51b2\u533a\u7684\u7ba1\u7406\u96be\u9898\u3001\u975e\u963b\u585e\u7f16\u7a0b\u7684\u96be\u5ea6\u5927\u3001\u4ee5\u53ca\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u5b58\u5728\u7684\u6027\u80fd\u95ee\u9898\uff0c\u90fd\u662f\u503c\u5f97\u5f00\u53d1\u8005\u6ce8\u610f\u7684\u4e0d\u8db3\u4e4b\u5904\u3002\u5728\u9009\u62e9\u4f7f\u7528Java NIO\u4e4b\u524d\uff0c\u5f00\u53d1\u8005\u5e94\u8be5\u6839\u636e\u5b9e\u9645\u7684\u5e94\u7528\u573a\u666f\u548c\u9700\u6c42\uff0c\u6743\u8861\u5176\u4f18\u7f3a\u70b9\uff0c\u5982\u679c\u53ef\u80fd\u7684\u8bdd\uff0c\u5c1d\u8bd5\u5bf9\u6bd4\u4f20\u7edf\u7684\u963b\u585eI\/O\u548cNIO\u7684\u8868\u73b0\uff0c\u4ee5\u505a\u51fa\u66f4\u52a0\u5408\u7406\u7684\u6280\u672f\u9009\u62e9\u3002\u5728\u4f7f\u7528NIO\u65f6\uff0c\u6df1\u5165\u7406\u89e3\u5176\u6838\u5fc3\u6982\u5ff5\uff0c\u6b63\u786e\u7ba1\u7406\u8d44\u6e90\uff0c\u4ee5\u53ca\u4f18\u5316I\/O\u64cd\u4f5c\uff0c\u90fd\u662f\u63d0\u5347\u5e94\u7528\u6027\u80fd\u548c\u5f00\u53d1\u6548\u7387\u7684\u5173\u952e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. Java NIO\u5728\u5b66\u4e60\u66f2\u7ebf\u65b9\u9762\u6709\u4ec0\u4e48\u6311\u6218\uff1f<\/strong><\/p>\n<p>\u4e86\u89e3\u548c\u638c\u63e1Java NIO\u7684\u6982\u5ff5\u548c\u673a\u5236\u53ef\u80fd\u9700\u8981\u4e00\u4e9b\u65f6\u95f4\u548c\u7cbe\u529b\uff0c\u56e0\u6b64\u5b83\u53ef\u80fd\u5177\u6709\u76f8\u5bf9\u9661\u5ced\u7684\u5b66\u4e60\u66f2\u7ebf\u3002\u76f8\u6bd4\u4f20\u7edf\u7684Java IO\uff0cNIO\u5f15\u5165\u4e86\u8bb8\u591a\u65b0\u7684\u6982\u5ff5\uff0c\u4f8b\u5982Selector\u3001Channel\u548cBuffer\u7b49\uff0c\u8fd9\u4e9b\u6982\u5ff5\u53ef\u80fd\u9700\u8981\u4e00\u5b9a\u7684\u65f6\u95f4\u6765\u7406\u89e3\u548c\u719f\u6089\u3002<\/p>\n<p><strong>2. Java NIO\u7684\u4ee3\u7801\u590d\u6742\u5ea6\u5982\u4f55\uff1f<\/strong><\/p>\n<p>\u4e0e\u4f20\u7edf\u7684Java IO\u76f8\u6bd4\uff0cNIO\u7684\u4ee3\u7801\u66f4\u52a0\u590d\u6742\u3002\u4f7f\u7528NIO\u8fdb\u884c\u7f51\u7edc\u7f16\u7a0b\u5f80\u5f80\u9700\u8981\u5904\u7406\u591a\u4e2aChannel\u548cSelector\uff0c\u540c\u65f6\u8fd8\u9700\u8981\u6b63\u786e\u5730\u7ba1\u7406\u548c\u64cd\u4f5cBuffer\u3002\u8fd9\u4e9b\u989d\u5916\u7684\u590d\u6742\u6027\u53ef\u80fd\u589e\u52a0\u4e86\u5f00\u53d1\u548c\u8c03\u8bd5\u4ee3\u7801\u7684\u96be\u5ea6\uff0c\u5c24\u5176\u662f\u5bf9\u4e8e\u521d\u5b66\u8005\u800c\u8a00\u3002<\/p>\n<p><strong>3. Java NIO\u7684\u90e8\u5206\u529f\u80fd\u53d7\u9650\u5982\u4f55\u89e3\u51b3\uff1f<\/strong><\/p>\n<p>\u5c3d\u7ba1Java NIO\u63d0\u4f9b\u4e86\u975e\u963b\u585e\u5f0fIO\u4ee5\u53ca\u66f4\u597d\u7684\u5185\u5b58\u7ba1\u7406\u7b49\u4f18\u70b9\uff0c\u4f46\u5728\u67d0\u4e9b\u65b9\u9762\u5176\u529f\u80fd\u5e76\u4e0d\u540c\u6837\u5b8c\u5584\u3002\u4f8b\u5982\uff0cJava NIO\u5bf9\u4e8e\u6587\u4ef6\u64cd\u4f5c\u7684\u652f\u6301\u76f8\u5bf9\u8f83\u5f31\uff0c\u800c\u4e14\u5728\u5904\u7406\u5927\u6587\u4ef6\u65f6\u53ef\u80fd\u4f1a\u9047\u5230\u6027\u80fd\u95ee\u9898\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\uff0c\u5f00\u53d1\u8005\u53ef\u80fd\u9700\u8981\u4f9d\u8d56\u5176\u4ed6\u5e93\u6216\u6846\u67b6\u6765\u5f25\u8865Java NIO\u7684\u4e0d\u8db3\uff0c\u5e76\u4f7f\u7528\u66f4\u9002\u5408\u7684\u5de5\u5177\u6765\u5904\u7406\u7279\u5b9a\u7684\u4efb\u52a1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Java NIO\u662fJava\u975e\u963b\u585eI\/O\uff08New Input\/Output\uff09\u7684\u7b80\u79f0\uff0c\u662f\u4eceJava 1.4\u7248\u672c\u5f00\u59cb [&hellip;]","protected":false},"author":3,"featured_media":313897,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/313880"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=313880"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/313880\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/313897"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=313880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=313880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=313880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}