@UnstableApi public interface LastSmtpContent extends SmtpContent
DATA请求之后发送的一系列SmtpContent的最后一部分。
请注意, SmtpContent / LastSmtpContent序列必须始终使用CRLF作为行分隔符,而以DOT开头的行必须使用RFC2821指定的额外DOT 转义 。
| Modifier and Type | Field and Description |
|---|---|
static LastSmtpContent |
EMPTY_LAST_CONTENT
|
| Modifier and Type | Method and Description |
|---|---|
LastSmtpContent |
copy()
创建此 ByteBufHolder的深层副本。
|
LastSmtpContent |
duplicate()
重复此 ByteBufHolder 。
|
LastSmtpContent |
replace(ByteBuf content)
返回一个新 ByteBufHolder包含指定content 。
|
LastSmtpContent |
retain()
将参考计数增加
1 。
|
LastSmtpContent |
retain(int increment)
将参考计数增加
increment 。
|
LastSmtpContent |
retainedDuplicate()
重复此 ByteBufHolder 。
|
LastSmtpContent |
touch()
记录此对象的当前访问位置以进行调试。
|
LastSmtpContent |
touch(java.lang.Object hint)
记录此对象的当前访问位置,并附加一些用于调试的任意信息。
|
contentrefCnt, release, releasestatic final LastSmtpContent EMPTY_LAST_CONTENT
LastSmtpContent 。
LastSmtpContent copy()
ByteBufHolder复制的描述
ByteBufHolder的深层副本。
copy在界面
ByteBufHolder
copy在界面
SmtpContent
LastSmtpContent duplicate()
ByteBufHolder复制的描述
ByteBufHolder 。
请注意,这不会自动调用ByteBufHolder.retain() 。
duplicate在界面
ByteBufHolder
duplicate在界面
SmtpContent
LastSmtpContent retainedDuplicate()
ByteBufHolder
ByteBufHolder 。
与ByteBufHolder.duplicate()不同,此方法返回保留的副本。
retainedDuplicate在界面
ByteBufHolder
retainedDuplicate接口
SmtpContent
ByteBuf.retainedDuplicate()
LastSmtpContent replace(ByteBuf content)
ByteBufHolder
ByteBufHolder包含指定content 。
replace在界面
ByteBufHolder
replace在界面
SmtpContent
LastSmtpContent retain()
ReferenceCounted
1 。
retain在界面
ByteBufHolder
retain在界面
ReferenceCounted
retain在界面
SmtpContent
LastSmtpContent retain(int increment)
ReferenceCounted
increment 。
retain在界面
ByteBufHolder
retain在界面
ReferenceCounted
retain在界面
SmtpContent
LastSmtpContent touch()
ReferenceCounted复制的描述
touch在界面
ByteBufHolder
touch在界面
ReferenceCounted
touch在界面
SmtpContent
LastSmtpContent touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector提供给您。
touch在界面
ByteBufHolder
touch在界面
ReferenceCounted
touch在界面
SmtpContent
Copyright © 2008–2018 The Netty Project. All rights reserved.