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