Class VertxHttpResponse
java.lang.Object
io.quarkus.resteasy.runtime.standalone.VertxHttpResponse
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.jboss.resteasy.spi.HttpResponse
-
Field Summary
-
Constructor Summary
ConstructorDescriptionVertxHttpResponse
(io.vertx.core.http.HttpServerRequest request, org.jboss.resteasy.spi.ResteasyProviderFactory providerFactory, io.vertx.core.http.HttpMethod method, BufferAllocator allocator, VertxOutput output, io.vertx.ext.web.RoutingContext routingContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNewCookie
(jakarta.ws.rs.core.NewCookie cookie) (package private) void
void
finish()
void
int
boolean
void
reset()
void
sendError
(int status) void
void
void
setStatus
(int status) void
writeBlocking
(io.netty.buffer.ByteBuf buffer, boolean finished) writeNonBlocking
(io.netty.buffer.ByteBuf buffer, boolean finished) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.resteasy.spi.HttpResponse
close, getAsyncOutputStream, setSuppressExceptionDuringChunkedTransfer, suppressExceptionDuringChunkedTransfer
-
Field Details
-
request
final io.vertx.core.http.HttpServerRequest request -
response
final io.vertx.core.http.HttpServerResponse response
-
-
Constructor Details
-
VertxHttpResponse
public VertxHttpResponse(io.vertx.core.http.HttpServerRequest request, org.jboss.resteasy.spi.ResteasyProviderFactory providerFactory, io.vertx.core.http.HttpMethod method, BufferAllocator allocator, VertxOutput output, io.vertx.ext.web.RoutingContext routingContext)
-
-
Method Details
-
setOutputStream
- Specified by:
setOutputStream
in interfaceorg.jboss.resteasy.spi.HttpResponse
-
getStatus
public int getStatus()- Specified by:
getStatus
in interfaceorg.jboss.resteasy.spi.HttpResponse
-
setStatus
public void setStatus(int status) - Specified by:
setStatus
in interfaceorg.jboss.resteasy.spi.HttpResponse
-
getOutputHeaders
- Specified by:
getOutputHeaders
in interfaceorg.jboss.resteasy.spi.HttpResponse
-
getOutputStream
- Specified by:
getOutputStream
in interfaceorg.jboss.resteasy.spi.HttpResponse
- Throws:
IOException
-
addNewCookie
public void addNewCookie(jakarta.ws.rs.core.NewCookie cookie) - Specified by:
addNewCookie
in interfaceorg.jboss.resteasy.spi.HttpResponse
-
checkException
- Throws:
IOException
-
sendError
- Specified by:
sendError
in interfaceorg.jboss.resteasy.spi.HttpResponse
- Throws:
IOException
-
sendError
- Specified by:
sendError
in interfaceorg.jboss.resteasy.spi.HttpResponse
- Throws:
IOException
-
isCommitted
public boolean isCommitted()- Specified by:
isCommitted
in interfaceorg.jboss.resteasy.spi.HttpResponse
-
reset
public void reset()- Specified by:
reset
in interfaceorg.jboss.resteasy.spi.HttpResponse
-
finish
- Throws:
IOException
-
flushBuffer
- Specified by:
flushBuffer
in interfaceorg.jboss.resteasy.spi.HttpResponse
- Throws:
IOException
-
writeBlocking
- Throws:
IOException
-
writeNonBlocking
-