Skip to content

Commit e66f3f3

Browse files
committed
Merge branch 'main' of github.com:avaje/avaje-jsonb
2 parents 24202e9 + 2950fcf commit e66f3f3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

jsonb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<dependency>
2222
<groupId>io.helidon.webserver</groupId>
2323
<artifactId>helidon-webserver</artifactId>
24-
<version>4.0.0-M2</version>
24+
<version>4.0.0-RC1</version>
2525
<scope>provided</scope>
2626
<optional>true</optional>
2727
</dependency>

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)