how to capture http response from Java SWT browser component
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
精彩评论