Top Description Methods
io.netty.handler.codec.http

public Interface FullHttpResponse

extends HttpResponse, FullHttpMessage
Known Direct Implementers
io.netty.handler.codec.http.DefaultFullHttpResponse, io.netty.handler.codec.http.HttpObjectAggregator.AggregatedFullHttpResponse
Imports
io.netty.buffer.ByteBuf

Combination of a HttpResponse and FullHttpMessage. So it represent a complete http response.

Method Summary

Modifier and TypeMethod and Description
public FullHttpResponse
copy()

Redeclares io.netty.handler.codec.http.FullHttpMessage.copy.

Creates a deep copy of this ByteBufHolder.
public FullHttpResponse
public FullHttpResponse
replace(ByteBuf content)

Redeclares io.netty.handler.codec.http.FullHttpMessage.replace.

Returns a new ByteBufHolder which contains the specified content.
public FullHttpResponse
retain(int increment)

Redeclares io.netty.handler.codec.http.FullHttpMessage.retain.

Increases the reference count by the specified increment.
public FullHttpResponse
retain()

Redeclares io.netty.handler.codec.http.FullHttpMessage.retain.

Increases the reference count by 1.
public FullHttpResponse
public FullHttpResponse
public FullHttpResponse
public FullHttpResponse
touch()

Redeclares io.netty.handler.codec.http.FullHttpMessage.touch.

Records the current access location of this object for debugging purposes.
public FullHttpResponse
touch(Object hint)

Redeclares io.netty.handler.codec.http.FullHttpMessage.touch.

Records the current access location of this object with an additional arbitrary information for debugging purposes.
Inherited from io.netty.handler.codec.http.HttpResponse:
getStatusstatus

Method Detail

copyback to summary
public FullHttpResponse copy()

Redeclares io.netty.handler.codec.http.FullHttpMessage.copy.

Doc from io.netty.buffer.ByteBufHolder.copy.

Creates a deep copy of this ByteBufHolder.

Annotations
@Override
duplicateback to summary
public FullHttpResponse duplicate()

Redeclares io.netty.handler.codec.http.FullHttpMessage.duplicate.

Doc from io.netty.buffer.ByteBufHolder.duplicate.

Duplicates this ByteBufHolder. Be aware that this will not automatically call retain().

Annotations
@Override
replaceback to summary
public FullHttpResponse replace(ByteBuf content)

Redeclares io.netty.handler.codec.http.FullHttpMessage.replace.

Doc from io.netty.buffer.ByteBufHolder.replace.

Returns a new ByteBufHolder which contains the specified content.

Annotations
@Override
retainback to summary
public FullHttpResponse retain(int increment)

Redeclares io.netty.handler.codec.http.FullHttpMessage.retain.

Doc from io.netty.util.ReferenceCounted.retain.

Increases the reference count by the specified increment.

Annotations
@Override
retainback to summary
public FullHttpResponse retain()

Redeclares io.netty.handler.codec.http.FullHttpMessage.retain.

Doc from io.netty.util.ReferenceCounted.retain.

Increases the reference count by 1.

Annotations
@Override
retainedDuplicateback to summary
public FullHttpResponse retainedDuplicate()

Redeclares io.netty.handler.codec.http.FullHttpMessage.retainedDuplicate.

Doc from io.netty.buffer.ByteBufHolder.retainedDuplicate.

Duplicates this ByteBufHolder. This method returns a retained duplicate unlike duplicate().

Annotations
@Override
setProtocolVersionback to summary
public FullHttpResponse setProtocolVersion(HttpVersion version)

Redeclares io.netty.handler.codec.http.HttpResponse.setProtocolVersion, io.netty.handler.codec.http.HttpMessage.setProtocolVersion.

Doc from io.netty.handler.codec.http.HttpMessage.setProtocolVersion.

Set the protocol version of this HttpMessage

Annotations
@Override
setStatusback to summary
public FullHttpResponse setStatus(HttpResponseStatus status)

Redeclares io.netty.handler.codec.http.HttpResponse.setStatus.

Doc from io.netty.handler.codec.http.HttpResponse.setStatus.

Set the status of this HttpResponse.

Annotations
@Override
touchback to summary
public FullHttpResponse touch()

Redeclares io.netty.handler.codec.http.FullHttpMessage.touch.

Doc from io.netty.util.ReferenceCounted.touch.

Records the current access location of this object for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector. This method is a shortcut to touch(null).

Annotations
@Override
touchback to summary
public FullHttpResponse touch(Object hint)

Redeclares io.netty.handler.codec.http.FullHttpMessage.touch.

Doc from io.netty.util.ReferenceCounted.touch.

Records the current access location of this object with an additional arbitrary information for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector.

Annotations
@Override