Class VertxHttpResponse
java.lang.Object
io.quarkus.resteasy.runtime.standalone.VertxHttpResponse
- All Implemented Interfaces:
Closeable,AutoCloseable,org.jboss.resteasy.spi.HttpResponse
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVertxHttpResponse(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 TypeMethodDescriptionvoidaddNewCookie(jakarta.ws.rs.core.NewCookie cookie) (package private) voidvoidfinish()voidintbooleanvoidreset()voidsendError(int status) voidvoidvoidsetStatus(int status) voidwriteBlocking(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, waitMethods 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:
setOutputStreamin interfaceorg.jboss.resteasy.spi.HttpResponse
-
getStatus
public int getStatus()- Specified by:
getStatusin interfaceorg.jboss.resteasy.spi.HttpResponse
-
setStatus
public void setStatus(int status) - Specified by:
setStatusin interfaceorg.jboss.resteasy.spi.HttpResponse
-
getOutputHeaders
- Specified by:
getOutputHeadersin interfaceorg.jboss.resteasy.spi.HttpResponse
-
getOutputStream
- Specified by:
getOutputStreamin interfaceorg.jboss.resteasy.spi.HttpResponse- Throws:
IOException
-
addNewCookie
public void addNewCookie(jakarta.ws.rs.core.NewCookie cookie) - Specified by:
addNewCookiein interfaceorg.jboss.resteasy.spi.HttpResponse
-
checkException
- Throws:
IOException
-
sendError
- Specified by:
sendErrorin interfaceorg.jboss.resteasy.spi.HttpResponse- Throws:
IOException
-
sendError
- Specified by:
sendErrorin interfaceorg.jboss.resteasy.spi.HttpResponse- Throws:
IOException
-
isCommitted
public boolean isCommitted()- Specified by:
isCommittedin interfaceorg.jboss.resteasy.spi.HttpResponse
-
reset
public void reset()- Specified by:
resetin interfaceorg.jboss.resteasy.spi.HttpResponse
-
finish
- Throws:
IOException
-
flushBuffer
- Specified by:
flushBufferin interfaceorg.jboss.resteasy.spi.HttpResponse- Throws:
IOException
-
writeBlocking
- Throws:
IOException
-
writeNonBlocking
-