I'm trying to use JCEF for a Java application that I'm building. I'm having a difficult time sifting through the Javadocs and I haven't seen any related questions online to this topic.
What I really want is the status code so I know if a webpage returned with anything other than 200. This is so if the webpage did not return successfully, then I will display an image instead. From what I can tell, I should be using CefResponse getResponse() for what I need, but how exactly do I implement this? The Detailed sample project shows a RequestHandler extending CefRequestHandlerAdapter, which is called in the MainFrame class. So do I have to follow a similar path? I wasn't sure how this could be incorporated with a CefResponse. Any insight into this would be great.