Class NettyHttpResponse
java.lang.Object
org.jboss.resteasy.plugins.server.netty.NettyHttpResponse
- All Implemented Interfaces:
Closeable, AutoCloseable, org.jboss.resteasy.spi.HttpResponse
@Deprecated(forRemoval=true,
since="6.2.13.Final")
public class NettyHttpResponse
extends Object
implements org.jboss.resteasy.spi.HttpResponse
Deprecated, for removal: This API element is subject to removal in a future version.
use the new dependencies
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
ConstructorsConstructorDescriptionNettyHttpResponse(io.netty.channel.ChannelHandlerContext ctx, boolean keepAlive, org.jboss.resteasy.spi.ResteasyProviderFactory providerFactory) Deprecated, for removal: This API element is subject to removal in a future version.NettyHttpResponse(io.netty.channel.ChannelHandlerContext ctx, boolean keepAlive, org.jboss.resteasy.spi.ResteasyProviderFactory providerFactory, io.netty.handler.codec.http.HttpMethod method) 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.voidfinish()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.io.netty.handler.codec.http.DefaultHttpResponseDeprecated, for removal: This API element is subject to removal in a future version.io.netty.handler.codec.http.DefaultHttpResponseDeprecated, 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.booleanDeprecated, 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.voidreset()Deprecated, for removal: This API element is subject to removal in a future version.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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.resteasy.spi.HttpResponse
close, getAsyncOutputStream, setSuppressExceptionDuringChunkedTransfer, suppressExceptionDuringChunkedTransfer
-
Constructor Details
-
NettyHttpResponse
public NettyHttpResponse(io.netty.channel.ChannelHandlerContext ctx, boolean keepAlive, org.jboss.resteasy.spi.ResteasyProviderFactory providerFactory) Deprecated, for removal: This API element is subject to removal in a future version. -
NettyHttpResponse
public NettyHttpResponse(io.netty.channel.ChannelHandlerContext ctx, boolean keepAlive, org.jboss.resteasy.spi.ResteasyProviderFactory providerFactory, io.netty.handler.codec.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:
setOutputStreamin interfaceorg.jboss.resteasy.spi.HttpResponse
-
getStatus
public int getStatus()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getStatusin interfaceorg.jboss.resteasy.spi.HttpResponse
-
setStatus
public void setStatus(int status) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setStatusin interfaceorg.jboss.resteasy.spi.HttpResponse
-
getOutputHeaders
-
getOutputStream
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getOutputStreamin interfaceorg.jboss.resteasy.spi.HttpResponse- 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:
addNewCookiein interfaceorg.jboss.resteasy.spi.HttpResponse
-
sendError
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
sendErrorin interfaceorg.jboss.resteasy.spi.HttpResponse- Throws:
IOException
-
sendError
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
sendErrorin interfaceorg.jboss.resteasy.spi.HttpResponse- Throws:
IOException
-
isCommitted
public boolean isCommitted()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isCommittedin interfaceorg.jboss.resteasy.spi.HttpResponse
-
reset
public void reset()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
resetin interfaceorg.jboss.resteasy.spi.HttpResponse
-
isKeepAlive
public boolean isKeepAlive()Deprecated, for removal: This API element is subject to removal in a future version. -
getDefaultHttpResponse
public io.netty.handler.codec.http.DefaultHttpResponse getDefaultHttpResponse()Deprecated, for removal: This API element is subject to removal in a future version. -
getEmptyHttpResponse
public io.netty.handler.codec.http.DefaultHttpResponse getEmptyHttpResponse()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:
flushBufferin interfaceorg.jboss.resteasy.spi.HttpResponse- Throws:
IOException
-