Home
last modified time | relevance | path

Searched refs:httpStatusCode (Results 1 – 25 of 56) sorted by relevance

123

/external/aws-sdk-java-v2/core/protocols/protocol-core/src/main/java/software/amazon/awssdk/protocols/core/
DExceptionMetadata.java30 private final Integer httpStatusCode; field in ExceptionMetadata
35 this.httpStatusCode = builder.httpStatusCode; in ExceptionMetadata()
56 public Integer httpStatusCode() { in httpStatusCode() method in ExceptionMetadata
57 return httpStatusCode; in httpStatusCode()
70 private Integer httpStatusCode; field in ExceptionMetadata.Builder
85 public Builder httpStatusCode(Integer httpStatusCode) { in httpStatusCode() method in ExceptionMetadata.Builder
86 this.httpStatusCode = httpStatusCode; in httpStatusCode()
/external/aws-sdk-java-v2/core/sdk-core/src/main/java/software/amazon/awssdk/core/retry/
DRetryPolicyContext.java40 private final Integer httpStatusCode; field in RetryPolicyContext
48 this.httpStatusCode = builder.httpStatusCode; in RetryPolicyContext()
100 public Integer httpStatusCode() { in httpStatusCode() method in RetryPolicyContext
101 return this.httpStatusCode; in httpStatusCode()
116 private Integer httpStatusCode; field in RetryPolicyContext.Builder
127 this.httpStatusCode = copy.httpStatusCode; in Builder()
155 public Builder httpStatusCode(Integer httpStatusCode) { in httpStatusCode() argument
156 this.httpStatusCode = httpStatusCode; in httpStatusCode()
/external/aws-sdk-java-v2/codegen/src/main/java/software/amazon/awssdk/codegen/model/intermediate/
DExceptionModel.java24 private Integer httpStatusCode; field in ExceptionModel
55 return httpStatusCode; in getHttpStatusCode()
58 public void setHttpStatusCode(Integer httpStatusCode) { in setHttpStatusCode() argument
59 this.httpStatusCode = httpStatusCode; in setHttpStatusCode()
62 public ExceptionModel withHttpStatusCode(Integer httpStatusCode) { in withHttpStatusCode() argument
63 this.httpStatusCode = httpStatusCode; in withHttpStatusCode()
DShapeModel.java63 private Integer httpStatusCode; field in ShapeModel
560 return httpStatusCode; in getHttpStatusCode()
563 public void setHttpStatusCode(Integer httpStatusCode) { in setHttpStatusCode() argument
564 this.httpStatusCode = httpStatusCode; in setHttpStatusCode()
/external/aws-sdk-java-v2/codegen/src/main/java/software/amazon/awssdk/codegen/model/service/
DErrorTrait.java25 private Integer httpStatusCode; field in ErrorTrait
36 return httpStatusCode; in getHttpStatusCode()
39 public void setHttpStatusCode(Integer httpStatusCode) { in setHttpStatusCode() argument
40 this.httpStatusCode = httpStatusCode; in setHttpStatusCode()
/external/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/rpc/
DStatusCode.java63 Code(int httpStatusCode) { in Code() argument
64 this.httpStatusCode = httpStatusCode; in Code()
67 private int httpStatusCode; field in StatusCode.Code
70 return httpStatusCode; in getHttpStatusCode()
/external/aws-sdk-java-v2/core/protocols/aws-json-protocol/src/test/java/software/amazon/awssdk/protocols/json/
DFaultStatusCodeMappingTest.java44 .httpStatusCode(tc.metadataStatusCode) in unmarshal_faultValue_useCorrectly()
54 if (tc.httpStatusCode != null) { in unmarshal_faultValue_useCorrectly()
55 responseBuilder.statusCode(tc.httpStatusCode); in unmarshal_faultValue_useCorrectly()
130 private final Integer httpStatusCode; field in FaultStatusCodeMappingTest.TestCase
135 … public TestCase(Integer httpStatusCode, Integer metadataStatusCode, int expectedStatusCode) { in TestCase() argument
136 this.httpStatusCode = httpStatusCode; in TestCase()
/external/aws-sdk-java-v2/core/sdk-core/src/test/java/software/amazon/awssdk/core/retry/
DRetryPolicyContexts.java36 public static RetryPolicyContext withStatusCode(Integer httpStatusCode) { in withStatusCode() argument
38 .httpStatusCode(httpStatusCode) in withStatusCode()
DRetryPolicyContextTest.java37 assertNull(RetryPolicyContexts.withStatusCode(null).httpStatusCode()); in nullHttpStatusCodeAllowed()
52 .httpStatusCode(400) in buildFully()
60 assertEquals(Integer.valueOf(400), context.httpStatusCode()); in buildFully()
/external/cronet/tot/components/cronet/android/java/src/org/chromium/net/impl/
DUrlResponseInfoImpl.java85 int httpStatusCode, in UrlResponseInfoImpl() argument
93 mHttpStatusCode = httpStatusCode; in UrlResponseInfoImpl()
106 int httpStatusCode, in UrlResponseInfoImpl() argument
114 httpStatusCode, in UrlResponseInfoImpl()
DCronetUrlRequest.java506 int httpStatusCode, in prepareResponseInfoOnNetworkThread() argument
519 httpStatusCode, in prepareResponseInfoOnNetworkThread()
616 int httpStatusCode, in onRedirectReceived() argument
625 httpStatusCode, in onRedirectReceived()
666 int httpStatusCode, in onResponseStarted() argument
675 httpStatusCode, in onResponseStarted()
998 final int httpStatusCode; in buildCronetTrafficInfo() local
1003 httpStatusCode = mResponseInfo.getHttpStatusCode(); in buildCronetTrafficInfo()
1008 httpStatusCode = 0; in buildCronetTrafficInfo()
1091 responseHeaderSizeInBytes, responseBodySizeInBytes, httpStatusCode, headersLatency, in buildCronetTrafficInfo()
DCronetBidirectionalStream.java608 int httpStatusCode, in onResponseHeadersReceived() argument
615 httpStatusCode, negotiatedProtocol, headers, receivedByteCount); in onResponseHeadersReceived()
898 final int httpStatusCode; in buildCronetTrafficInfo() local
903 httpStatusCode = mResponseInfo.getHttpStatusCode(); in buildCronetTrafficInfo()
908 httpStatusCode = 0; in buildCronetTrafficInfo()
995 httpStatusCode, in buildCronetTrafficInfo()
1094 int httpStatusCode, in prepareResponseInfoOnNetworkThread() argument
1101 httpStatusCode, in prepareResponseInfoOnNetworkThread()
/external/cronet/stable/components/cronet/android/java/src/org/chromium/net/impl/
DUrlResponseInfoImpl.java85 int httpStatusCode, in UrlResponseInfoImpl() argument
93 mHttpStatusCode = httpStatusCode; in UrlResponseInfoImpl()
106 int httpStatusCode, in UrlResponseInfoImpl() argument
114 httpStatusCode, in UrlResponseInfoImpl()
DCronetUrlRequest.java506 int httpStatusCode, in prepareResponseInfoOnNetworkThread() argument
519 httpStatusCode, in prepareResponseInfoOnNetworkThread()
616 int httpStatusCode, in onRedirectReceived() argument
625 httpStatusCode, in onRedirectReceived()
666 int httpStatusCode, in onResponseStarted() argument
675 httpStatusCode, in onResponseStarted()
998 final int httpStatusCode; in buildCronetTrafficInfo() local
1003 httpStatusCode = mResponseInfo.getHttpStatusCode(); in buildCronetTrafficInfo()
1008 httpStatusCode = 0; in buildCronetTrafficInfo()
1091 responseHeaderSizeInBytes, responseBodySizeInBytes, httpStatusCode, headersLatency, in buildCronetTrafficInfo()
DCronetBidirectionalStream.java608 int httpStatusCode, in onResponseHeadersReceived() argument
615 httpStatusCode, negotiatedProtocol, headers, receivedByteCount); in onResponseHeadersReceived()
898 final int httpStatusCode; in buildCronetTrafficInfo() local
903 httpStatusCode = mResponseInfo.getHttpStatusCode(); in buildCronetTrafficInfo()
908 httpStatusCode = 0; in buildCronetTrafficInfo()
995 httpStatusCode, in buildCronetTrafficInfo()
1094 int httpStatusCode, in prepareResponseInfoOnNetworkThread() argument
1101 httpStatusCode, in prepareResponseInfoOnNetworkThread()
/external/cronet/stable/components/cronet/android/test/javatests/src/org/chromium/net/
DUrlResponseInfoTest.java36 final int httpStatusCode = 200; in testPublicAPI() local
50 httpStatusCode, in testPublicAPI()
62 assertThat(info).hasHttpStatusCodeThat().isEqualTo(httpStatusCode); in testPublicAPI()
/external/cronet/tot/components/cronet/android/test/javatests/src/org/chromium/net/
DUrlResponseInfoTest.java36 final int httpStatusCode = 200; in testPublicAPI() local
50 httpStatusCode, in testPublicAPI()
62 assertThat(info).hasHttpStatusCodeThat().isEqualTo(httpStatusCode); in testPublicAPI()
/external/aws-sdk-java-v2/http-client-spi/src/main/java/software/amazon/awssdk/http/
DHttpStatusFamily.java59 public static HttpStatusFamily of(int httpStatusCode) { in of() argument
60 switch (httpStatusCode / 100) { in of()
/external/cronet/android/tests/cts/src/android/net/http/cts/util/
DTestUtils.kt35 assertEquals("Status code must be 200 OK", 200, info.httpStatusCode) in assertOKStatusCode()
39 assumeThat("Status code must be 200 OK", info.httpStatusCode, equalTo(200)) in assumeOKStatusCode()
/external/aws-sdk-java-v2/services/kms/target/generated-sources/sdk/software/amazon/awssdk/services/kms/
DDefaultKmsClient.java9178 … .exceptionBuilderSupplier(CloudHsmClusterNotFoundException::builder).httpStatusCode(400).build()) in init()
9181 … .exceptionBuilderSupplier(XksProxyInvalidConfigurationException::builder).httpStatusCode(400) in init()
9185 … .exceptionBuilderSupplier(ExpiredImportTokenException::builder).httpStatusCode(400).build()) in init()
9188 … .exceptionBuilderSupplier(CustomKeyStoreNotFoundException::builder).httpStatusCode(400).build()) in init()
9192 .httpStatusCode(400).build()) in init()
9196 .httpStatusCode(400).build()) in init()
9199 … .exceptionBuilderSupplier(MalformedPolicyDocumentException::builder).httpStatusCode(400).build()) in init()
9202 … .exceptionBuilderSupplier(XksProxyUriUnreachableException::builder).httpStatusCode(400).build()) in init()
9205 … .exceptionBuilderSupplier(IncorrectKeyMaterialException::builder).httpStatusCode(400).build()) in init()
9208 … .exceptionBuilderSupplier(InvalidImportTokenException::builder).httpStatusCode(400).build()) in init()
[all …]
DDefaultKmsAsyncClient.java9395 … .exceptionBuilderSupplier(CloudHsmClusterNotFoundException::builder).httpStatusCode(400).build()) in init()
9398 … .exceptionBuilderSupplier(XksProxyInvalidConfigurationException::builder).httpStatusCode(400) in init()
9402 … .exceptionBuilderSupplier(ExpiredImportTokenException::builder).httpStatusCode(400).build()) in init()
9405 … .exceptionBuilderSupplier(CustomKeyStoreNotFoundException::builder).httpStatusCode(400).build()) in init()
9409 .httpStatusCode(400).build()) in init()
9413 .httpStatusCode(400).build()) in init()
9416 … .exceptionBuilderSupplier(MalformedPolicyDocumentException::builder).httpStatusCode(400).build()) in init()
9419 … .exceptionBuilderSupplier(XksProxyUriUnreachableException::builder).httpStatusCode(400).build()) in init()
9422 … .exceptionBuilderSupplier(IncorrectKeyMaterialException::builder).httpStatusCode(400).build()) in init()
9425 … .exceptionBuilderSupplier(InvalidImportTokenException::builder).httpStatusCode(400).build()) in init()
[all …]
/external/aws-sdk-java-v2/codegen/src/main/java/software/amazon/awssdk/codegen/
DAddOperations.java219 … Integer httpStatusCode = getHttpStatusCode(error, c2jShapes.get(error.getShape())); in constructOperations() local
225 .withHttpStatusCode(httpStatusCode)); in constructOperations()
260 Integer httpStatusCode = getHttpStatusCode(error.getError()); in getHttpStatusCode() local
261 return httpStatusCode == null ? getHttpStatusCode(shape.getError()) : httpStatusCode; in getHttpStatusCode()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGrpcUtil.java293 public static Status httpStatusToGrpcStatus(int httpStatusCode) { in httpStatusToGrpcStatus() argument
294 return httpStatusToGrpcCode(httpStatusCode).toStatus() in httpStatusToGrpcStatus()
295 .withDescription("HTTP status code " + httpStatusCode); in httpStatusToGrpcStatus()
298 private static Status.Code httpStatusToGrpcCode(int httpStatusCode) { in httpStatusToGrpcCode() argument
299 if (httpStatusCode >= 100 && httpStatusCode < 200) { in httpStatusToGrpcCode()
303 switch (httpStatusCode) { in httpStatusToGrpcCode()
/external/cronet/tot/components/cronet/android/fake/javatests/org/chromium/net/test/
DFakeCronetControllerTest.java212 int httpStatusCode = 400; in testAddErrorResponse() local
213 mFakeCronetController.addHttpErrorResponse(httpStatusCode, url); in testAddErrorResponse()
217 assertThat(foundResponse.getHttpStatusCode()).isEqualTo(httpStatusCode); in testAddErrorResponse()
/external/cronet/stable/components/cronet/android/fake/javatests/org/chromium/net/test/
DFakeCronetControllerTest.java212 int httpStatusCode = 400; in testAddErrorResponse() local
213 mFakeCronetController.addHttpErrorResponse(httpStatusCode, url); in testAddErrorResponse()
217 assertThat(foundResponse.getHttpStatusCode()).isEqualTo(httpStatusCode); in testAddErrorResponse()

123