Class ResteasyReactiveOutputStream
java.lang.Object
java.io.OutputStream
org.jboss.resteasy.reactive.server.vertx.ResteasyReactiveOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected final io.vertx.core.http.HttpServerRequestprotected Throwableprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()contentLengthSet(io.vertx.core.http.HttpServerRequest request, LazyResponse lazyResponse) voidflush()voidvoidwrite(byte[] b) voidwrite(byte[] b, int off, int len) voidwrite(int b) voidwrite(io.netty.buffer.ByteBuf data, boolean last) voidwriteBlocking(io.netty.buffer.ByteBuf buffer, boolean finished) Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
request
protected final io.vertx.core.http.HttpServerRequest request -
waitingForDrain
protected boolean waitingForDrain -
drainHandlerRegistered
protected boolean drainHandlerRegistered -
first
protected boolean first -
throwable
-
-
Constructor Details
-
ResteasyReactiveOutputStream
-
-
Method Details
-
terminateResponse
public void terminateResponse() -
write
- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
writeBlocking
- Throws:
IOException
-
contentLengthSet
public static ResteasyReactiveOutputStream.ContentLengthSetResult contentLengthSet(io.vertx.core.http.HttpServerRequest request, LazyResponse lazyResponse) -
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-