Java如何检索浏览器cookie id?

时间:2015-02-16 06:18:43

标签: java

        Headers h = t.getResponseHeaders(); // t - is HttpExchange
        String val = h.getFirst("???"); // what to put here?
        System.out.println("result: " + val);

我尝试使用像" cookie"这样的值,但它返回null,如何检索浏览器cookie ID?手动实现会话?

0 个答案:

没有答案
相关问题