Commit c0e2af1 1 parent 2c27095 commit c0e2af1 Copy full SHA for c0e2af1
File tree 1 file changed +2
-2
lines changed
src/main/java/de/sstoehr/harreader
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ public HarWriter(MapperFactory mapperFactory) {
21
21
}
22
22
23
23
/**
24
- * Serialize HAR as a byte array. It's functionally equivalent to calling {@link #writeTo(OutputStream)} with
24
+ * Serialize HAR as a byte array. It's functionally equivalent to calling {@link #writeTo(OutputStream, Har )} with
25
25
* {@link java.io.ByteArrayOutputStream} and getting bytes, but more efficient. Encoding used will be UTF-8.
26
26
* @return Serialized HAR as a byte array
27
- * @throws IOException if a low-level I/O problem occurs
27
+ * @throws HarWriterException if a low-level I/O problem occurs
28
28
*/
29
29
public byte [] writeAsBytes (Har har ) throws HarWriterException {
30
30
return wrap (m -> m .writeValueAsBytes (har ));
You can’t perform that action at this time.
0 commit comments