public class DefaultLastHttpContent extends DefaultHttpContent implements LastHttpContent
LastHttpContent实现。
EMPTY_LAST_CONTENT| Constructor and Description |
|---|
DefaultLastHttpContent() |
DefaultLastHttpContent(ByteBuf content) |
DefaultLastHttpContent(ByteBuf content, boolean validateHeaders) |
| Modifier and Type | Method and Description |
|---|---|
LastHttpContent |
copy()
创建此 ByteBufHolder的深层副本。
|
LastHttpContent |
duplicate()
重复此 ByteBufHolder 。
|
LastHttpContent |
replace(ByteBuf content)
返回一个新 ByteBufHolder包含指定content 。
|
LastHttpContent |
retain()
将引用计数增加
1 。
|
LastHttpContent |
retain(int increment)
将参考计数增加指定的
increment 。
|
LastHttpContent |
retainedDuplicate()
重复此 ByteBufHolder 。
|
java.lang.String |
toString() |
LastHttpContent |
touch()
记录此对象的当前访问位置以进行调试。
|
LastHttpContent |
touch(java.lang.Object hint)
记录此对象的当前访问位置,并附加一些用于调试的任意信息。
|
HttpHeaders |
trailingHeaders() |
content, refCnt, release, releasedecoderResult, equals, getDecoderResult, hashCode, setDecoderResultclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDecoderResultdecoderResult, setDecoderResultcontentrefCnt, release, releasepublic DefaultLastHttpContent()
public DefaultLastHttpContent(ByteBuf content)
public DefaultLastHttpContent(ByteBuf content, boolean validateHeaders)
public LastHttpContent copy()
ByteBufHolder
ByteBufHolder的深层副本。
copy接口
ByteBufHolder
copy接口
HttpContent
copy接口
LastHttpContent
copy在课程
DefaultHttpContent
public LastHttpContent duplicate()
ByteBufHolder
ByteBufHolder 。
请注意,这不会自动调用ByteBufHolder.retain() 。
duplicate ,界面
ByteBufHolder
duplicate在界面
HttpContent
duplicate在界面
LastHttpContent
duplicate类
DefaultHttpContent
public LastHttpContent retainedDuplicate()
ByteBufHolder
ByteBufHolder 。
与ByteBufHolder.duplicate()不同,此方法返回保留的副本。
retainedDuplicate接口
ByteBufHolder
retainedDuplicate在界面
HttpContent
retainedDuplicate在界面
LastHttpContent
retainedDuplicate在课程
DefaultHttpContent
ByteBuf.retainedDuplicate()
public LastHttpContent replace(ByteBuf content)
ByteBufHolder
ByteBufHolder包含指定content 。
replace接口
ByteBufHolder
replace接口
HttpContent
replace在界面
LastHttpContent
replace在课堂上
DefaultHttpContent
public LastHttpContent retain(int increment)
ReferenceCounted
increment 。
retain接口
ByteBufHolder
retain ,界面
HttpContent
retain在界面
LastHttpContent
retain接口
ReferenceCounted
retain在课堂上
DefaultHttpContent
public LastHttpContent retain()
ReferenceCounted
1 。
retain接口
ByteBufHolder
retain接口
HttpContent
retain ,界面
LastHttpContent
retain接口
ReferenceCounted
retain在课程
DefaultHttpContent
public LastHttpContent touch()
ReferenceCounted
touch接口
ByteBufHolder
touch在界面
HttpContent
touch接口
LastHttpContent
touch ,界面
ReferenceCounted
touch
DefaultHttpContent
public LastHttpContent touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector提供给您。
touch接口
ByteBufHolder
touch ,界面
HttpContent
touch接口
LastHttpContent
touch接口
ReferenceCounted
touch在课程
DefaultHttpContent
public HttpHeaders trailingHeaders()
trailingHeaders接口
LastHttpContent
public java.lang.String toString()
Copyright © 2008–2018 The Netty Project. All rights reserved.