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) |
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, release
decoderResult, equals, getDecoderResult, hashCode, setDecoderResult
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDecoderResult
public DefaultLastHttpContent()
public DefaultLastHttpContent(io.netty.buffer.ByteBuf content)
public DefaultLastHttpContent(io.netty.buffer.ByteBuf content, boolean validateHeaders)
public LastHttpContent copy()
copy
in interface io.netty.buffer.ByteBufHolder
copy
in interface HttpContent
copy
in interface LastHttpContent
copy
in class DefaultHttpContent
public LastHttpContent duplicate()
duplicate
in interface io.netty.buffer.ByteBufHolder
duplicate
in interface HttpContent
duplicate
in interface LastHttpContent
duplicate
in class DefaultHttpContent
public LastHttpContent retainedDuplicate()
retainedDuplicate
in interface io.netty.buffer.ByteBufHolder
retainedDuplicate
in interface HttpContent
retainedDuplicate
in interface LastHttpContent
retainedDuplicate
in class DefaultHttpContent
public LastHttpContent replace(io.netty.buffer.ByteBuf content)
replace
in interface io.netty.buffer.ByteBufHolder
replace
in interface HttpContent
replace
in interface LastHttpContent
replace
in class DefaultHttpContent
public LastHttpContent retain(int increment)
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface HttpContent
retain
in interface LastHttpContent
retain
in interface io.netty.util.ReferenceCounted
retain
in class DefaultHttpContent
public LastHttpContent retain()
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface HttpContent
retain
in interface LastHttpContent
retain
in interface io.netty.util.ReferenceCounted
retain
in class DefaultHttpContent
public LastHttpContent touch()
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface HttpContent
touch
in interface LastHttpContent
touch
in interface io.netty.util.ReferenceCounted
touch
in class DefaultHttpContent
public LastHttpContent touch(Object hint)
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface HttpContent
touch
in interface LastHttpContent
touch
in interface io.netty.util.ReferenceCounted
touch
in class DefaultHttpContent
public HttpHeaders trailingHeaders()
trailingHeaders
in interface LastHttpContent
public String toString()
toString
in class DefaultHttpContent
Copyright © 2008–2017 The Netty Project. All rights reserved.