Class ReactorNettyHttpResponse
java.lang.Object
org.jboss.resteasy.plugins.server.reactor.netty.ReactorNettyHttpResponse
- All Implemented Interfaces:
Closeable,AutoCloseable,HttpResponse
@Deprecated(forRemoval=true,
since="6.2.13.Final")
public class ReactorNettyHttpResponse
extends Object
implements HttpResponse
Deprecated, for removal: This API element is subject to removal in a future version.
use the new dependencies
This is the 1-way bridge from RestEasy to reactor-netty's
HttpServerResponse. Headers come via direct call. RestEasy will write the
response body to the output stream it gets from getOutputStream().-
Constructor Summary
ConstructorsConstructorDescriptionReactorNettyHttpResponse(io.netty.handler.codec.http.HttpMethod method, reactor.netty.http.server.HttpServerResponse resp, reactor.core.publisher.Sinks.Empty<Void> completionSink) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNewCookie(jakarta.ws.rs.core.NewCookie cookie) Deprecated, for removal: This API element is subject to removal in a future version.voidclose()Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, 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.intDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.voidreset()Deprecated, for removal: This API element is subject to removal in a future version.reset status and headers.voidsendError(int status) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetStatus(int status) 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, waitMethods inherited from interface org.jboss.resteasy.spi.HttpResponse
getAsyncOutputStream, setSuppressExceptionDuringChunkedTransfer, suppressExceptionDuringChunkedTransfer
-
Constructor Details
-
ReactorNettyHttpResponse
public ReactorNettyHttpResponse(io.netty.handler.codec.http.HttpMethod method, reactor.netty.http.server.HttpServerResponse resp, reactor.core.publisher.Sinks.Empty<Void> completionSink) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getStatus
public int getStatus()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getStatusin interfaceHttpResponse
-
setStatus
public void setStatus(int status) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setStatusin interfaceHttpResponse
-
getOutputHeaders
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getOutputHeadersin interfaceHttpResponse
-
getOutputStream
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getOutputStreamin interfaceHttpResponse
-
setOutputStream
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setOutputStreamin interfaceHttpResponse
-
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:
addNewCookiein interfaceHttpResponse
-
sendError
public void sendError(int status) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
sendErrorin interfaceHttpResponse
-
sendError
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
sendErrorin interfaceHttpResponse
-
isCommitted
public boolean isCommitted()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isCommittedin interfaceHttpResponse
-
reset
public void reset()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:HttpResponsereset status and headers. Will fail if response is committed- Specified by:
resetin interfaceHttpResponse
-
close
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceHttpResponse- Throws:
IOException
-
flushBuffer
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
flushBufferin interfaceHttpResponse- Throws:
IOException
-