开发者

how to capture http response from Java SWT browser component

开发者 https://www.devze.com 2023-02-18 19:31 出处:网络
Is it posible to capture http response that comping 开发者_开发知识库back from request im making in java SWT browser component ?Yes, at least if you\'re using a Mozilla based SWT browser. In that case

Is it posible to capture http response that comping 开发者_开发知识库back from request im making in java SWT browser component ?


Yes, at least if you're using a Mozilla based SWT browser. In that case you could implement a nsIObserver and take a look at the response via the observe() method.

Here's a snippet: http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet321.java?view=co

0

精彩评论

暂无评论...
验证码 换一张
取 消