We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34b46dd commit 9f2f667Copy full SHA for 9f2f667
jsonb/src/main/java/io/avaje/jsonb/stream/NimaJsonOutput.java
@@ -1,11 +1,11 @@
1
package io.avaje.jsonb.stream;
2
3
-import io.helidon.http.Http;
4
-import io.helidon.webserver.http.ServerResponse;
5
-
6
import java.io.IOException;
7
import java.io.OutputStream;
8
+import io.helidon.http.HeaderNames;
+import io.helidon.webserver.http.ServerResponse;
+
9
final class NimaJsonOutput implements JsonOutput {
10
11
private static final String CHUNKED = "chunked";
@@ -22,7 +22,7 @@ private OutputStream os() {
22
if (os == null) {
23
if (!fixedLength) {
24
// going to use chunked content
25
- res.header(Http.HeaderNames.TRANSFER_ENCODING, CHUNKED);
+ res.header(HeaderNames.TRANSFER_ENCODING, CHUNKED);
26
}
27
os = res.outputStream();
28
0 commit comments