@UnstableApi public interface SmtpContent extends ByteBufHolder
DATA
request.
Be aware that a SmtpContent
/ LastSmtpContent
sequence must always use CRLF as line delimiter
and the lines that start with a DOT must be escaped with an extra DOT as
specified by RFC2821.限定符和类型 | 方法和说明 |
---|---|
SmtpContent |
copy()
Creates a deep copy of this
ByteBufHolder . |
SmtpContent |
duplicate()
Duplicates this
ByteBufHolder . |
SmtpContent |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content . |
SmtpContent |
retain()
Increases the reference count by
1 . |
SmtpContent |
retain(int increment)
Increases the reference count by the specified
increment . |
SmtpContent |
retainedDuplicate()
Duplicates this
ByteBufHolder . |
SmtpContent |
touch()
Records the current access location of this object for debugging purposes.
|
SmtpContent |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
content
refCnt, release, release
SmtpContent copy()
ByteBufHolder
ByteBufHolder
.copy
在接口中 ByteBufHolder
SmtpContent duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
在接口中 ByteBufHolder
SmtpContent retainedDuplicate()
ByteBufHolder
ByteBufHolder
. This method returns a retained duplicate unlike ByteBufHolder.duplicate()
.retainedDuplicate
在接口中 ByteBufHolder
ByteBuf.retainedDuplicate()
SmtpContent replace(ByteBuf content)
ByteBufHolder
ByteBufHolder
which contains the specified content
.replace
在接口中 ByteBufHolder
SmtpContent retain()
ReferenceCounted
1
.retain
在接口中 ByteBufHolder
retain
在接口中 ReferenceCounted
SmtpContent retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ByteBufHolder
retain
在接口中 ReferenceCounted
SmtpContent touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
在接口中 ByteBufHolder
touch
在接口中 ReferenceCounted
SmtpContent touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
在接口中 ByteBufHolder
touch
在接口中 ReferenceCounted