Home
last modified time | relevance | path

Searched refs:isGrpcContentType (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DGrpcUtilTest.java137 assertTrue(GrpcUtil.isGrpcContentType(GrpcUtil.CONTENT_TYPE_GRPC)); in contentTypeShouldBeValid()
138 assertTrue(GrpcUtil.isGrpcContentType(GrpcUtil.CONTENT_TYPE_GRPC + "+blaa")); in contentTypeShouldBeValid()
139 assertTrue(GrpcUtil.isGrpcContentType(GrpcUtil.CONTENT_TYPE_GRPC + ";blaa")); in contentTypeShouldBeValid()
144 assertFalse(GrpcUtil.isGrpcContentType("application/bad")); in contentTypeShouldNotBeValid()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DHttp2ClientStreamTransportState.java216 if (!GrpcUtil.isGrpcContentType(contentType)) { in validateInitialMetadata()
DGrpcUtil.java402 public static boolean isGrpcContentType(String contentType) { in isGrpcContentType() method in GrpcUtil
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerHandler.java402 if (!GrpcUtil.isGrpcContentType(contentTypeString)) { in onHeadersRead()