Skip to content

Commit 9f2f667

Browse files
committed
Update NimaJsonOutput.java
1 parent 34b46dd commit 9f2f667

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jsonb/src/main/java/io/avaje/jsonb/stream/NimaJsonOutput.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package io.avaje.jsonb.stream;
22

3-
import io.helidon.http.Http;
4-
import io.helidon.webserver.http.ServerResponse;
5-
63
import java.io.IOException;
74
import java.io.OutputStream;
85

6+
import io.helidon.http.HeaderNames;
7+
import io.helidon.webserver.http.ServerResponse;
8+
99
final class NimaJsonOutput implements JsonOutput {
1010

1111
private static final String CHUNKED = "chunked";
@@ -22,7 +22,7 @@ private OutputStream os() {
2222
if (os == null) {
2323
if (!fixedLength) {
2424
// going to use chunked content
25-
res.header(Http.HeaderNames.TRANSFER_ENCODING, CHUNKED);
25+
res.header(HeaderNames.TRANSFER_ENCODING, CHUNKED);
2626
}
2727
os = res.outputStream();
2828
}

0 commit comments

Comments
 (0)