Searched refs:sReasons (Results 1 – 2 of 2) sorted by relevance
/cts/libs/testserver/src/android/webkit/cts/ |
D | TestWebServer.java | 73 private static Hashtable<Integer, String> sReasons; field in TestWebServer 455 if (sReasons == null) { in createResponse() 456 sReasons = new Hashtable<Integer, String>(); in createResponse() 457 sReasons.put(HttpStatus.SC_UNAUTHORIZED, "Unauthorized"); in createResponse() 458 sReasons.put(HttpStatus.SC_NOT_FOUND, "Not Found"); in createResponse() 459 sReasons.put(HttpStatus.SC_FORBIDDEN, "Forbidden"); in createResponse() 460 sReasons.put(HttpStatus.SC_MOVED_TEMPORARILY, "Moved Temporarily"); in createResponse() 464 reason = sReasons.get(status); in createResponse()
|
D | CtsTestServer.java | 136 private static Hashtable<Integer, String> sReasons; field in CtsTestServer 162 if (sReasons == null) { in getReasonString() 163 sReasons = new Hashtable<Integer, String>(); in getReasonString() 164 sReasons.put(HttpStatus.SC_UNAUTHORIZED, "Unauthorized"); in getReasonString() 165 sReasons.put(HttpStatus.SC_NOT_FOUND, "Not Found"); in getReasonString() 166 sReasons.put(HttpStatus.SC_FORBIDDEN, "Forbidden"); in getReasonString() 167 sReasons.put(HttpStatus.SC_MOVED_TEMPORARILY, "Moved Temporarily"); in getReasonString() 169 return sReasons.get(status); in getReasonString()
|