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

public Interface FullHttpMessage

extends HttpMessage, LastHttpContent
Known Direct Subinterfaces
io.netty.handler.codec.http.FullHttpRequest, io.netty.handler.codec.http.FullHttpResponse
Known Direct Implementers
io.netty.handler.codec.http.HttpObjectAggregator.AggregatedFullHttpMessage
Imports
io.netty.buffer.ByteBuf

Combines HttpMessage and LastHttpContent into one message. So it represent a complete http message.

Field Summary

Inherited from io.netty.handler.codec.http.LastHttpContent:
EMPTY_LAST_CONTENT

Method Summary

Modifier and TypeMethod and Description
public FullHttpMessage
copy()

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

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

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

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

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

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

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

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

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

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

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

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

Method Detail

copyback to summary
public FullHttpMessage copy()

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

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

Creates a deep copy of this ByteBufHolder.

Annotations
@Override
duplicateback to summary
public FullHttpMessage duplicate()

Redeclares io.netty.handler.codec.http.LastHttpContent.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 FullHttpMessage replace(ByteBuf content)

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

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

Returns a new ByteBufHolder which contains the specified content.

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

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

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

Increases the reference count by the specified increment.

Annotations
@Override
retainback to summary
public FullHttpMessage retain()

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

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

Increases the reference count by 1.

Annotations
@Override
retainedDuplicateback to summary
public FullHttpMessage retainedDuplicate()

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

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

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

Annotations
@Override
touchback to summary
public FullHttpMessage touch()

Redeclares io.netty.handler.codec.http.LastHttpContent.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 FullHttpMessage touch(Object hint)

Redeclares io.netty.handler.codec.http.LastHttpContent.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