@UnstableApi public interface LastSmtpContent extends SmtpContent
SmtpContents that are sent after a 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 | Field and Description |
|---|---|
static LastSmtpContent |
EMPTY_LAST_CONTENT
Empty
LastSmtpContent. |
| Modifier and Type | Method and Description |
|---|---|
LastSmtpContent |
copy()
Creates a deep copy of this
ByteBufHolder. |
LastSmtpContent |
duplicate()
Duplicates this
ByteBufHolder. |
LastSmtpContent |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content. |
LastSmtpContent |
retain()
Increases the reference count by
1. |
LastSmtpContent |
retain(int increment)
Increases the reference count by the specified
increment. |
LastSmtpContent |
retainedDuplicate()
Duplicates this
ByteBufHolder. |
LastSmtpContent |
touch()
Records the current access location of this object for debugging purposes.
|
LastSmtpContent |
touch(Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
contentrefCnt, release, releasestatic final LastSmtpContent EMPTY_LAST_CONTENT
LastSmtpContent.LastSmtpContent copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface SmtpContentLastSmtpContent duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface SmtpContentLastSmtpContent retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderretainedDuplicate in interface SmtpContentByteBuf.retainedDuplicate()LastSmtpContent replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderreplace in interface SmtpContentLastSmtpContent retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface ReferenceCountedretain in interface SmtpContentLastSmtpContent retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface ReferenceCountedretain in interface SmtpContentLastSmtpContent touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface ReferenceCountedtouch in interface SmtpContentLastSmtpContent touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface ReferenceCountedtouch in interface SmtpContentCopyright © 2008–2017 The Netty Project. All rights reserved.