@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.
|
contentrefCnt, release, releaseSmtpContent copy()
ByteBufHolderByteBufHolder.copy 在接口中 ByteBufHolderSmtpContent duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate 在接口中 ByteBufHolderSmtpContent retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate 在接口中 ByteBufHolderByteBuf.retainedDuplicate()SmtpContent replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace 在接口中 ByteBufHolderSmtpContent retain()
ReferenceCounted1.retain 在接口中 ByteBufHolderretain 在接口中 ReferenceCountedSmtpContent retain(int increment)
ReferenceCountedincrement.retain 在接口中 ByteBufHolderretain 在接口中 ReferenceCountedSmtpContent touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch 在接口中 ByteBufHoldertouch 在接口中 ReferenceCountedSmtpContent touch(java.lang.Object hint)
ReferenceCountedResourceLeakDetector.touch 在接口中 ByteBufHoldertouch 在接口中 ReferenceCounted