Home
last modified time | relevance | path

Searched refs:HttpResponseException (Results 1 – 23 of 23) sorted by relevance

/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
DHttpResponseException.java13 public class HttpResponseException extends IOException { class
18 public HttpResponseException(int statusCode) { in HttpResponseException() method in HttpResponseException
23 public HttpResponseException(String detailMessage, int statusCode) { in HttpResponseException() method in HttpResponseException
28 public HttpResponseException(String detailMessage, int statusCode, List responseHeaders) { in HttpResponseException() method in HttpResponseException
34 public HttpResponseException(String message, Throwable cause, int statusCode) { in HttpResponseException() method in HttpResponseException
39 public HttpResponseException(Throwable cause, int statusCode) { in HttpResponseException() method in HttpResponseException
DHttpTransportSE.java112 throws HttpResponseException, IOException, XmlPullParserException { in call()
118 throws HttpResponseException, IOException, XmlPullParserException { in call()
145 throws HttpResponseException, IOException, XmlPullParserException { in call()
237 throw new HttpResponseException("HTTP request failed, HTTP status: " + status, in call()
259 if (e instanceof HttpResponseException) { in call()
/external/sdk-platform-java/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/
DRetryingTest.java35 import com.google.api.client.http.HttpResponseException;
77 private HttpResponseException HTTP_SERVICE_UNAVAILABLE_EXCEPTION =
78 new HttpResponseException.Builder(
131 HttpResponseException httpResponseException = in retryTotalTimeoutExceeded()
132 new HttpResponseException.Builder( in retryTotalTimeoutExceeded()
193 HttpResponseException throwable = in retryOnStatusUnknown()
194 new HttpResponseException.Builder( in retryOnStatusUnknown()
228 HttpResponseException httpResponseException = in retryNoRecover()
229 new HttpResponseException.Builder( in retryNoRecover()
252 HttpResponseException throwable = in retryKeepFailing()
[all …]
DHttpJsonDirectCallableTest.java34 import com.google.api.client.http.HttpResponseException;
251 HttpResponseException respExp = (HttpResponseException) e.getCause(); in testErrorUnaryResponse()
308 HttpResponseException respExp = (HttpResponseException) e.getCause(); in testErrorNullContentFailedResponse()
338 HttpResponseException respExp = (HttpResponseException) e.getCause(); in testErrorNon2xxOr4xxResponse()
/external/sdk-platform-java/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/
DHttpJsonApiExceptionFactory.java32 import com.google.api.client.http.HttpResponseException;
49 if (throwable instanceof HttpResponseException) { in create()
50 HttpResponseException e = (HttpResponseException) throwable; in create()
DHttpRequestRunnable.java40 import com.google.api.client.http.HttpResponseException;
127 } catch (HttpResponseException e) { in run()
/external/apache-http/src/org/apache/http/impl/client/
DBasicResponseHandler.java40 import org.apache.http.client.HttpResponseException;
73 throws HttpResponseException, IOException { in handleResponse()
76 throw new HttpResponseException(statusLine.getStatusCode(), in handleResponse()
/external/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/
DGoogleAuthException.java34 import com.google.api.client.http.HttpResponseException;
120 HttpResponseException responseException, String message) { in createWithTokenEndpointResponseException()
142 HttpResponseException responseException) { in createWithTokenEndpointResponseException()
DOAuthException.java36 import com.google.api.client.http.HttpResponseException;
85 static OAuthException createFromHttpResponseException(HttpResponseException e) in createFromHttpResponseException()
DStsRequestHandler.java39 import com.google.api.client.http.HttpResponseException;
110 } catch (HttpResponseException e) { in exchangeToken()
DExternalAccountAuthorizedUserCredentials.java41 import com.google.api.client.http.HttpResponseException;
176 } catch (HttpResponseException e) { in refreshAccessToken()
DUserCredentials.java41 import com.google.api.client.http.HttpResponseException;
272 } catch (HttpResponseException re) { in doRefreshAccessToken()
DGdchCredentials.java38 import com.google.api.client.http.HttpResponseException;
217 } catch (HttpResponseException re) { in refreshAccessToken()
DComputeEngineCredentials.java40 import com.google.api.client.http.HttpResponseException;
358 new HttpResponseException(response)); in getMetadataResponse()
DServiceAccountCredentials.java42 import com.google.api.client.http.HttpResponseException;
536 } catch (HttpResponseException re) { in refreshAccessToken()
/external/apache-http/src/org/apache/http/client/
DHttpResponseException.java41 public class HttpResponseException extends ClientProtocolException { class
47 public HttpResponseException(int statusCode, final String s) { in HttpResponseException() method in HttpResponseException
/external/sdk-platform-java/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/
DBaseGrpcServiceException.java19 import com.google.api.client.http.HttpResponseException;
52 if (exception instanceof HttpResponseException) { in makeExceptionData()
55 code = ((HttpResponseException) exception).getStatusCode(); in makeExceptionData()
/external/sdk-platform-java/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/
DBaseHttpServiceException.java21 import com.google.api.client.http.HttpResponseException;
47 if (exception instanceof HttpResponseException) { in makeExceptionData()
69 code = ((HttpResponseException) exception).getStatusCode(); in makeExceptionData()
/external/google-auth-library-java/oauth2_http/javatests/com/google/auth/
DTestUtils.java39 import com.google.api.client.http.HttpResponseException;
122 public static HttpResponseException buildHttpResponseException( in buildHttpResponseException()
134 return new HttpResponseException.Builder( in buildHttpResponseException()
/external/google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/
DITDownscopingTest.java42 import com.google.api.client.http.HttpResponseException;
128 } catch (HttpResponseException e) { in downscoping_serviceAccountSourceWithRefresh()
DServiceAccountCredentialsTest.java44 import com.google.api.client.http.HttpResponseException;
784 assertTrue(ex.getCause() instanceof HttpResponseException); in refreshAccessToken_maxRetries_maxDelay()
/external/ksoap2/
D0001-ksoap2-update.patch27 .../transport/HttpResponseException.java | 60 +++
37 create mode 100644 ksoap2-j2se/src/main/java/org/ksoap2/transport/HttpResponseException.java
2121 …n/java/org/ksoap2/transport/HttpResponseException.java b/ksoap2-j2se/src/main/java/org/ksoap2/tran…
2125 +++ b/ksoap2-j2se/src/main/java/org/ksoap2/transport/HttpResponseException.java
2133 + * HttpResponseException is an IOException that is to be thrown when a Http response code is diffe…
2138 +public class HttpResponseException extends IOException {
2143 + public HttpResponseException(int statusCode) {
2148 + public HttpResponseException(String detailMessage, int statusCode) {
2153 + public HttpResponseException(String detailMessage, int statusCode,List responseHeaders) {
2159 + public HttpResponseException(String message, Throwable cause, int statusCode) {
[all …]
/external/apache-http/api/
Dcurrent.txt1352 …@Deprecated public class HttpResponseException extends org.apache.http.client.ClientProtocolExcept…
1353 ctor @Deprecated public HttpResponseException(int, String);
2519 …ponse(org.apache.http.HttpResponse) throws org.apache.http.client.HttpResponseException, java.io.I…