Lines Matching refs:HttpURLConnection
318 if (uc instanceof java.net.HttpURLConnection) {
319 java.net.HttpURLConnection huc = (java.net.HttpURLConnection) uc;
321 if (code >= java.net.HttpURLConnection.HTTP_BAD_REQUEST) {
511 // HttpURLConnection will return true on HTTP_BAD_REQUEST
521 if (conn instanceof java.net.HttpURLConnection) {
522 java.net.HttpURLConnection hconn =
523 (java.net.HttpURLConnection) conn;
529 if (code == java.net.HttpURLConnection.HTTP_OK) {
532 if (code >= java.net.HttpURLConnection.HTTP_BAD_REQUEST) {