Searched refs:InternalStatus (Results 1 – 11 of 11) sorted by relevance
22 import io.grpc.InternalStatus;185 Status status = trailers.get(InternalStatus.CODE_KEY); in statusFromTrailers()187 return status.withDescription(trailers.get(InternalStatus.MESSAGE_KEY)); in statusFromTrailers()245 metadata.discardAll(InternalStatus.CODE_KEY); in stripTransportDetails()246 metadata.discardAll(InternalStatus.MESSAGE_KEY); in stripTransportDetails()
22 import io.grpc.InternalStatus;142 trailers.discardAll(InternalStatus.CODE_KEY); in addStatusToTrailers()143 trailers.discardAll(InternalStatus.MESSAGE_KEY); in addStatusToTrailers()144 trailers.put(InternalStatus.CODE_KEY, status); in addStatusToTrailers()146 trailers.put(InternalStatus.MESSAGE_KEY, status.getDescription()); in addStatusToTrailers()
23 public final class InternalStatus { class24 private InternalStatus() {} in InternalStatus() method in InternalStatus
347 int InternalStatus = demangle_success; in __cxa_demangle() local354 InternalStatus = demangle_invalid_mangled_name; in __cxa_demangle()356 InternalStatus = demangle_memory_alloc_failure; in __cxa_demangle()367 *Status = InternalStatus; in __cxa_demangle()368 return InternalStatus == demangle_success ? Buf : nullptr; in __cxa_demangle()
31 import io.grpc.InternalStatus;321 trailers.put(InternalStatus.CODE_KEY, Status.OK); in close_sendTrailersClearsReservedFields()322 trailers.put(InternalStatus.MESSAGE_KEY, "Everything's super."); in close_sendTrailersClearsReservedFields()329 Status.Code.INTERNAL, metadataCaptor.getValue().get(InternalStatus.CODE_KEY).getCode()); in close_sendTrailersClearsReservedFields()330 assertEquals("bad", metadataCaptor.getValue().get(InternalStatus.MESSAGE_KEY)); in close_sendTrailersClearsReservedFields()
55 import io.grpc.InternalStatus;422 .set(InternalStatus.CODE_KEY.name(), String.valueOf(Code.INTERNAL.value())) in headersWithInvalidContentTypeShouldFail()423 .set(InternalStatus.MESSAGE_KEY.name(), "Content-Type 'application/bad' is not supported") in headersWithInvalidContentTypeShouldFail()441 .set(InternalStatus.CODE_KEY.name(), String.valueOf(Code.INTERNAL.value())) in headersWithInvalidMethodShouldFail()442 .set(InternalStatus.MESSAGE_KEY.name(), "Method 'FAKE' is not supported") in headersWithInvalidMethodShouldFail()459 .set(InternalStatus.CODE_KEY.name(), String.valueOf(Code.UNIMPLEMENTED.value())) in headersWithMissingPathShouldFail()460 .set(InternalStatus.MESSAGE_KEY.name(), "Expected path but is missing") in headersWithMissingPathShouldFail()478 .set(InternalStatus.CODE_KEY.name(), String.valueOf(Code.UNIMPLEMENTED.value())) in headersWithInvalidPathShouldFail()479 .set(InternalStatus.MESSAGE_KEY.name(), "Expected path to start with /: foo/bar") in headersWithInvalidPathShouldFail()
46 import io.grpc.InternalStatus;543 trailers.put(InternalStatus.CODE_KEY, status); in grpcResponseTrailers()
36 import io.grpc.InternalStatus;669 metadata.put(InternalStatus.CODE_KEY, statusCode.toStatus()); in respondWithHttpError()670 metadata.put(InternalStatus.MESSAGE_KEY, msg); in respondWithHttpError()
4963 int InternalStatus = demangle_success; in itaniumDemangle() local4970 InternalStatus = demangle_invalid_mangled_name; in itaniumDemangle()4972 InternalStatus = demangle_memory_alloc_failure; in itaniumDemangle()4983 *Status = InternalStatus; in itaniumDemangle()4984 return InternalStatus == demangle_success ? Buf : nullptr; in itaniumDemangle()
62 import io.grpc.InternalStatus;1857 new Header(InternalStatus.CODE_KEY.name(), "0"), in grpcResponseTrailers()
META-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...