Searched refs:HttpException (Results 1 – 5 of 5) sorted by relevance
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | HttpHelper.java | 29 public String get(GetRequest request) throws IOException, HttpException; in get() 32 throws IOException, HttpException; in get() 34 public String post(PostRequest request) throws IOException, HttpException; in post() 37 throws IOException, HttpException; in post() 121 public static class HttpException extends IOException { class 125 public HttpException(int statusCode, String reasonPhrase) { in HttpException() method in HttpHelper.HttpException
|
D | JavaNetHttpHelper.java | 67 public String get(GetRequest request) throws IOException, HttpException { in get() 82 throws IOException, HttpException { in get() 97 public String post(PostRequest request) throws IOException, HttpException { in post() 102 throws IOException, HttpException { in post() 128 throws IOException, HttpException { in createConnection() 150 private String getResponseFrom(HttpURLConnection c) throws IOException, HttpException { in getResponseFrom() 152 throw new HttpException(c.getResponseCode(), c.getResponseMessage()); in getResponseFrom()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/ |
D | HttpException.java | 24 public class HttpException extends Exception { class 34 public HttpException(int statusCode) { in HttpException() method in HttpException
|
D | BlockingHttpClient.java | 65 throws IOException, AuthException, HttpException { in execute() 87 throw new HttpException(responseCode); in execute()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/ |
D | BlockingHttpClientTests.java | 64 } catch (HttpException e) { in testError_badGateway() 79 } catch (HttpException e) { in testError_clientTimeout() 95 } catch (HttpException e) { in testError_forbiddenWithRequest()
|