Searched refs:GRPC_PREVIOUS_RPC_ATTEMPTS (Results 1 – 2 of 2) sorted by relevance
23 import static io.grpc.internal.RetriableStream.GRPC_PREVIOUS_RPC_ATTEMPTS;163 int actualPreviousRpcAttemptsInHeader = metadata.get(GRPC_PREVIOUS_RPC_ATTEMPTS) == null in newSubstream()164 ? 0 : Integer.valueOf(metadata.get(GRPC_PREVIOUS_RPC_ATTEMPTS)); in newSubstream()952 assertNull(headers.get(GRPC_PREVIOUS_RPC_ATTEMPTS)); in updateHeaders()955 assertEquals("345", headers.get(GRPC_PREVIOUS_RPC_ATTEMPTS)); in updateHeaders()956 assertNull(originalHeaders.get(GRPC_PREVIOUS_RPC_ATTEMPTS)); in updateHeaders()
52 static final Metadata.Key<String> GRPC_PREVIOUS_RPC_ATTEMPTS = field in RetriableStream193 newHeaders.put(GRPC_PREVIOUS_RPC_ATTEMPTS, String.valueOf(previousAttempts)); in updateHeaders()