且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用GWT检查图像的给定URL是否存在?

更新时间:2023-11-26 11:24:10

You could do this with a RequestBuilder -- just request the image URL, use the Response's getHeaders() method to get the content type, and check if it's an image.