Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/main/java/io/grpc/
DInternalStatus.java36 public static final Metadata.Key<Status> CODE_KEY = Status.CODE_KEY; field in InternalStatus
DStatus.java348 static final Metadata.Key<Status> CODE_KEY field in Status
/external/grpc-grpc-java/core/src/jmh/java/io/grpc/
DStatusBenchmark.java81 return Status.CODE_KEY.toBytes(Status.DATA_LOSS); in codeEncode()
91 return Status.CODE_KEY.parseBytes("15".getBytes(Charset.forName("US-ASCII"))); in codeDecode()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DHttp2ClientStreamTransportState.java185 Status status = trailers.get(InternalStatus.CODE_KEY); in statusFromTrailers()
245 metadata.discardAll(InternalStatus.CODE_KEY); in stripTransportDetails()
DAbstractServerStream.java142 trailers.discardAll(InternalStatus.CODE_KEY); in addStatusToTrailers()
144 trailers.put(InternalStatus.CODE_KEY, status); in addStatusToTrailers()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAbstractServerStreamTest.java321 trailers.put(InternalStatus.CODE_KEY, Status.OK); in close_sendTrailersClearsReservedFields()
329 Status.Code.INTERNAL, metadataCaptor.getValue().get(InternalStatus.CODE_KEY).getCode()); in close_sendTrailersClearsReservedFields()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerHandlerTest.java422 .set(InternalStatus.CODE_KEY.name(), String.valueOf(Code.INTERNAL.value())) in headersWithInvalidContentTypeShouldFail()
441 .set(InternalStatus.CODE_KEY.name(), String.valueOf(Code.INTERNAL.value())) in headersWithInvalidMethodShouldFail()
459 .set(InternalStatus.CODE_KEY.name(), String.valueOf(Code.UNIMPLEMENTED.value())) in headersWithMissingPathShouldFail()
478 .set(InternalStatus.CODE_KEY.name(), String.valueOf(Code.UNIMPLEMENTED.value())) in headersWithInvalidPathShouldFail()
DNettyClientStreamTest.java543 trailers.put(InternalStatus.CODE_KEY, status); in grpcResponseTrailers()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerHandler.java669 metadata.put(InternalStatus.CODE_KEY, statusCode.toStatus()); in respondWithHttpError()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpClientTransportTest.java1857 new Header(InternalStatus.CODE_KEY.name(), "0"), in grpcResponseTrailers()