public class DefaultLastHttpContent extends DefaultHttpContent implements LastHttpContent
LastHttpContent implementation.EMPTY_LAST_CONTENT| Constructor and Description |
|---|
DefaultLastHttpContent() |
DefaultLastHttpContent(io.netty.buffer.ByteBuf content) |
DefaultLastHttpContent(io.netty.buffer.ByteBuf content,
boolean validateHeaders) |
DefaultLastHttpContent(io.netty.buffer.ByteBuf content,
HttpHeaders trailingHeaders) |
| Modifier and Type | Method and Description |
|---|---|
LastHttpContent |
copy() |
LastHttpContent |
duplicate() |
LastHttpContent |
replace(io.netty.buffer.ByteBuf content) |
LastHttpContent |
retain() |
LastHttpContent |
retain(int increment) |
LastHttpContent |
retainedDuplicate() |
String |
toString() |
LastHttpContent |
touch() |
LastHttpContent |
touch(Object hint) |
HttpHeaders |
trailingHeaders() |
content, refCnt, release, releasedecoderResult, equals, getDecoderResult, hashCode, setDecoderResultclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDecoderResultpublic DefaultLastHttpContent()
public DefaultLastHttpContent(io.netty.buffer.ByteBuf content)
public DefaultLastHttpContent(io.netty.buffer.ByteBuf content,
boolean validateHeaders)
public DefaultLastHttpContent(io.netty.buffer.ByteBuf content,
HttpHeaders trailingHeaders)
public LastHttpContent copy()
copy in interface io.netty.buffer.ByteBufHoldercopy in interface HttpContentcopy in interface LastHttpContentcopy in class DefaultHttpContentpublic LastHttpContent duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderduplicate in interface HttpContentduplicate in interface LastHttpContentduplicate in class DefaultHttpContentpublic LastHttpContent retainedDuplicate()
retainedDuplicate in interface io.netty.buffer.ByteBufHolderretainedDuplicate in interface HttpContentretainedDuplicate in interface LastHttpContentretainedDuplicate in class DefaultHttpContentpublic LastHttpContent replace(io.netty.buffer.ByteBuf content)
replace in interface io.netty.buffer.ByteBufHolderreplace in interface HttpContentreplace in interface LastHttpContentreplace in class DefaultHttpContentpublic LastHttpContent retain(int increment)
retain in interface io.netty.buffer.ByteBufHolderretain in interface HttpContentretain in interface LastHttpContentretain in interface io.netty.util.ReferenceCountedretain in class DefaultHttpContentpublic LastHttpContent retain()
retain in interface io.netty.buffer.ByteBufHolderretain in interface HttpContentretain in interface LastHttpContentretain in interface io.netty.util.ReferenceCountedretain in class DefaultHttpContentpublic LastHttpContent touch()
touch in interface io.netty.buffer.ByteBufHoldertouch in interface HttpContenttouch in interface LastHttpContenttouch in interface io.netty.util.ReferenceCountedtouch in class DefaultHttpContentpublic LastHttpContent touch(Object hint)
touch in interface io.netty.buffer.ByteBufHoldertouch in interface HttpContenttouch in interface LastHttpContenttouch in interface io.netty.util.ReferenceCountedtouch in class DefaultHttpContentpublic HttpHeaders trailingHeaders()
trailingHeaders in interface LastHttpContentpublic String toString()
toString in class DefaultHttpContentCopyright © 2008–2023 The Netty Project. All rights reserved.