Home
last modified time | relevance | path

Searched refs:httpCode (Results 1 – 10 of 10) sorted by relevance

/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DErrorCode.java65 public final int httpCode; field in ErrorCode
69 private ErrorCode(int httpCode, int spdyRstCode, int spdyGoAwayCode) { in ErrorCode() argument
70 this.httpCode = httpCode; in ErrorCode()
84 if (errorCode.httpCode == code) return errorCode; in fromHttp2()
DHttp2.java470 if (errorCode.httpCode == -1) throw new IllegalArgumentException(); in rstStream()
476 sink.writeInt(errorCode.httpCode); in rstStream()
534 if (errorCode.httpCode == -1) throw illegalArgument("errorCode.httpCode == -1"); in goAway()
541 sink.writeInt(errorCode.httpCode); in goAway()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/
DErrorCode.java65 public final int httpCode; field in ErrorCode
69 private ErrorCode(int httpCode, int spdyRstCode, int spdyGoAwayCode) { in ErrorCode() argument
70 this.httpCode = httpCode; in ErrorCode()
84 if (errorCode.httpCode == code) return errorCode; in fromHttp2()
DHttp2.java474 if (errorCode.httpCode == -1) throw new IllegalArgumentException(); in rstStream()
480 sink.writeInt(errorCode.httpCode); in rstStream()
538 if (errorCode.httpCode == -1) throw illegalArgument("errorCode.httpCode == -1"); in goAway()
545 sink.writeInt(errorCode.httpCode); in goAway()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DErrorCode.java61 public final int httpCode; field in ErrorCode
65 private ErrorCode(int httpCode, int spdyRstCode, int spdyGoAwayCode) { in ErrorCode() argument
66 this.httpCode = httpCode; in ErrorCode()
80 if (errorCode.httpCode == code) return errorCode; in fromHttp2()
DHttp2.java468 if (errorCode.httpCode == -1) throw new IllegalArgumentException(); in rstStream()
474 sink.writeInt(errorCode.httpCode); in rstStream()
532 if (errorCode.httpCode == -1) throw illegalArgument("errorCode.httpCode == -1"); in goAway()
539 sink.writeInt(errorCode.httpCode); in goAway()
/external/downloader/src/main/java/com/google/android/downloader/
DErrorDetails.java125 int httpCode, Map<String, List<String>> responseHeaders) { in isRetryableHttpError() argument
126 switch (httpCode) { in isRetryableHttpError()
DCronetUrlEngine.java209 int httpCode = urlResponseInfo.getHttpStatusCode(); in onResponseStarted() local
210 if (httpCode >= HttpURLConnection.HTTP_BAD_REQUEST) { in onResponseStarted()
214 httpCode, in onResponseStarted()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2Test.java224 frame.writeInt(ErrorCode.COMPRESSION_ERROR.httpCode); in readRstStreamFrame()
572 frame.writeInt(expectedError.httpCode); in goAwayWithoutDebugDataRoundTrip()
597 frame.writeInt(expectedError.httpCode); in goAwayWithDebugDataRoundTrip()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpClientTransport.java922 "Unknown http2 error code: " + code.httpCode); in toGrpcStatus()
1147 Status status = GrpcUtil.Http2Error.statusForCode(errorCode.httpCode) in goAway()