@UnstableApi public interface LastSmtpContent extends SmtpContent
SmtpContent
s 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.
|
content
refCnt, release, release
static final LastSmtpContent EMPTY_LAST_CONTENT
LastSmtpContent
.LastSmtpContent copy()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
copy
in interface SmtpContent
LastSmtpContent duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
duplicate
in interface SmtpContent
LastSmtpContent retainedDuplicate()
ByteBufHolder
ByteBufHolder
. This method returns a retained duplicate unlike ByteBufHolder.duplicate()
.retainedDuplicate
in interface ByteBufHolder
retainedDuplicate
in interface SmtpContent
ByteBuf.retainedDuplicate()
LastSmtpContent replace(ByteBuf content)
ByteBufHolder
ByteBufHolder
which contains the specified content
.replace
in interface ByteBufHolder
replace
in interface SmtpContent
LastSmtpContent retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
retain
in interface SmtpContent
LastSmtpContent retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
retain
in interface SmtpContent
LastSmtpContent touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
in interface ByteBufHolder
touch
in interface ReferenceCounted
touch
in interface SmtpContent
LastSmtpContent touch(Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
in interface ByteBufHolder
touch
in interface ReferenceCounted
touch
in interface SmtpContent
Copyright © 2008–2017 The Netty Project. All rights reserved.