Custom JavaFX WebView Protocol Handler

后端 未结 3 622
孤街浪徒
孤街浪徒 2020-12-18 10:43

I am trying to write my own protocol handler for a JavaFX application that uses webview to access a single website. What I have done so far

My custom URLStreamHandle

3条回答
  •  臣服心动
    2020-12-18 10:49

    By activating Logging and Tracing in the Java Control-Panel your Java-Console will print all attempts and executed network calls including those from the WebView.

    You can see all HTTP & HTTPS calls and their return-code + cookie data. You might also see other protocol connections, but probably not any data sent over them.

    This applies to Applets in a Browser. If you need this in a different context maybe there is a way to activate the same options by passing command line parameters.

提交回复
热议问题