Class VertxHttpResponse
java.lang.Object
org.jboss.resteasy.plugins.server.vertx.VertxHttpResponse
- All Implemented Interfaces:
Closeable
,AutoCloseable
,HttpResponse
@Deprecated(forRemoval=true,
since="6.2.13.Final")
public class VertxHttpResponse
extends Object
implements HttpResponse
Deprecated, for removal: This API element is subject to removal in a future version.
use new dependencies
-
Constructor Summary
ConstructorsConstructorDescriptionVertxHttpResponse
(io.vertx.core.http.HttpServerResponse response, ResteasyProviderFactory providerFactory) Deprecated, for removal: This API element is subject to removal in a future version.VertxHttpResponse
(io.vertx.core.http.HttpServerResponse response, ResteasyProviderFactory providerFactory, io.vertx.core.http.HttpMethod method) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNewCookie
(jakarta.ws.rs.core.NewCookie cookie) Deprecated, for removal: This API element is subject to removal in a future version.void
finish()
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
reset()
Deprecated, for removal: This API element is subject to removal in a future version.reset status and headers.void
sendError
(int status) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
setStatus
(int status) Deprecated, for removal: This API element is subject to removal in a future version.static void
transformHeaders
(VertxHttpResponse vertxResponse, io.vertx.core.http.HttpServerResponse response, ResteasyProviderFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.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
-
Constructor Details
-
VertxHttpResponse
public VertxHttpResponse(io.vertx.core.http.HttpServerResponse response, ResteasyProviderFactory providerFactory) Deprecated, for removal: This API element is subject to removal in a future version. -
VertxHttpResponse
public VertxHttpResponse(io.vertx.core.http.HttpServerResponse response, ResteasyProviderFactory providerFactory, io.vertx.core.http.HttpMethod method) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
setOutputStream
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setOutputStream
in interfaceHttpResponse
-
getStatus
public int getStatus()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getStatus
in interfaceHttpResponse
-
setStatus
public void setStatus(int status) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setStatus
in interfaceHttpResponse
-
getOutputHeaders
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getOutputHeaders
in interfaceHttpResponse
-
getOutputStream
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getOutputStream
in interfaceHttpResponse
- Throws:
IOException
-
addNewCookie
public void addNewCookie(jakarta.ws.rs.core.NewCookie cookie) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
addNewCookie
in interfaceHttpResponse
-
sendError
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
sendError
in interfaceHttpResponse
- Throws:
IOException
-
sendError
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
sendError
in interfaceHttpResponse
- Throws:
IOException
-
isCommitted
public boolean isCommitted()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isCommitted
in interfaceHttpResponse
-
reset
public void reset()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:HttpResponse
reset status and headers. Will fail if response is committed- Specified by:
reset
in interfaceHttpResponse
-
transformHeaders
public static void transformHeaders(VertxHttpResponse vertxResponse, io.vertx.core.http.HttpServerResponse response, ResteasyProviderFactory factory) Deprecated, for removal: This API element is subject to removal in a future version. -
prepareChunkStream
public void prepareChunkStream()Deprecated, for removal: This API element is subject to removal in a future version. -
finish
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
flushBuffer
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
flushBuffer
in interfaceHttpResponse
- Throws:
IOException
-