Skip to content

Commit 9d8543d

Browse files
committed
fix javadoc for bytesStreamingSerializer
1 parent ac52303 commit 9d8543d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

servicetalk-http-api/src/main/java/io/servicetalk/http/api/HttpSerializers.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@ public static HttpStreamingSerializer<String> stringStreamingSerializer(
283283
}
284284

285285
/**
286-
* Create a {@link HttpStreamingSerializer} that serializes {@link String}. This method is useful if the payload
287-
* body is provided in {@link String} and the {@link HttpHeaderNames#CONTENT_TYPE} is known a-prior
288-
* (e.g. streaming raw json data from a stream of {@link String}s). Deserialization should be done using
286+
* Create a {@link HttpStreamingSerializer} that serializes {@code byte[]}. This method is useful if the payload
287+
* body is provided in {@code byte[]} and the {@link HttpHeaderNames#CONTENT_TYPE} is known a-prior
288+
* (e.g. streaming raw json data from a stream of {@code byte[]}s). Deserialization should be done using
289289
* the a-prior knowledge to use a compatible {@link HttpStreamingDeserializer}.
290290
* @param headersSerializeConsumer Sets the headers to indicate the appropriate encoding and content type.
291291
* @return a {@link HttpStreamingSerializer} that uses a {@link Serializer} for serialization.

0 commit comments

Comments
 (0)