Skip to content

Commit dd8165b

Browse files
committed
api: Add ExperimentalApi to Metadata.BinaryStreamMarshaller
This was missed in d107859 and the API has not yet been released.
1 parent d82140c commit dd8165b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/src/main/java/io/grpc/Metadata.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ public interface AsciiMarshaller<T> {
614614
}
615615

616616
/** Marshaller for metadata values that are serialized to an InputStream. */
617+
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/6575")
617618
public interface BinaryStreamMarshaller<T> {
618619
/**
619620
* Serializes a metadata value to an {@link InputStream}.
@@ -685,6 +686,7 @@ public static <T> Key<T> of(String name, BinaryMarshaller<T> marshaller) {
685686
* @param name Must contain only the valid key characters as defined in the class comment. Must
686687
* end with {@link #BINARY_HEADER_SUFFIX}.
687688
*/
689+
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/6575")
688690
public static <T> Key<T> of(String name, BinaryStreamMarshaller<T> marshaller) {
689691
return new LazyStreamBinaryKey<>(name, marshaller);
690692
}

0 commit comments

Comments
 (0)