Home
last modified time | relevance | path

Searched refs:HttpException (Results 1 – 5 of 5) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DHttpHelper.java29 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
DJavaNetHttpHelper.java67 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/tests/src/com/android/inputmethod/latin/network/
DBlockingHttpClientTests.java71 } catch (HttpException e) { in testError_badGateway()
87 } catch (HttpException e) { in testError_clientTimeout()
104 } catch (HttpException e) { in testError_forbiddenWithRequest()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
DHttpException.java24 public class HttpException extends Exception { class
34 public HttpException(int statusCode) { in HttpException() method in HttpException
DBlockingHttpClient.java65 throws IOException, AuthException, HttpException { in execute()
87 throw new HttpException(responseCode); in execute()