File tree 1 file changed +3
-3
lines changed
servicetalk-http-api/src/main/java/io/servicetalk/http/api
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -283,9 +283,9 @@ public static HttpStreamingSerializer<String> stringStreamingSerializer(
283
283
}
284
284
285
285
/**
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
289
289
* the a-prior knowledge to use a compatible {@link HttpStreamingDeserializer}.
290
290
* @param headersSerializeConsumer Sets the headers to indicate the appropriate encoding and content type.
291
291
* @return a {@link HttpStreamingSerializer} that uses a {@link Serializer} for serialization.
You can’t perform that action at this time.
0 commit comments