@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.| Modifier and Type | Method and Description |
|---|---|
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(Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
contentrefCnt, release, releaseSmtpContent copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHolderSmtpContent duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderSmtpContent retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderByteBuf.retainedDuplicate()SmtpContent replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderSmtpContent retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface ReferenceCountedSmtpContent retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface ReferenceCountedSmtpContent touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface ReferenceCountedSmtpContent touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface ReferenceCountedCopyright © 2008–2025 The Netty Project. All rights reserved.