Interface LastSmtpContent

  • All Superinterfaces:
    io.netty.buffer.ByteBufHolder, io.netty.util.ReferenceCounted, SmtpContent
    All Known Implementing Classes:
    DefaultLastSmtpContent

    @UnstableApi
    public interface LastSmtpContent
    extends SmtpContent
    The last part of a sequence of 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.
    • Method Detail

      • replace

        LastSmtpContent replace​(io.netty.buffer.ByteBuf content)
        Specified by:
        replace in interface io.netty.buffer.ByteBufHolder
        Specified by:
        replace in interface SmtpContent
      • retain

        LastSmtpContent retain()
        Specified by:
        retain in interface io.netty.buffer.ByteBufHolder
        Specified by:
        retain in interface io.netty.util.ReferenceCounted
        Specified by:
        retain in interface SmtpContent
      • retain

        LastSmtpContent retain​(int increment)
        Specified by:
        retain in interface io.netty.buffer.ByteBufHolder
        Specified by:
        retain in interface io.netty.util.ReferenceCounted
        Specified by:
        retain in interface SmtpContent
      • touch

        LastSmtpContent touch()
        Specified by:
        touch in interface io.netty.buffer.ByteBufHolder
        Specified by:
        touch in interface io.netty.util.ReferenceCounted
        Specified by:
        touch in interface SmtpContent
      • touch

        LastSmtpContent touch​(Object hint)
        Specified by:
        touch in interface io.netty.buffer.ByteBufHolder
        Specified by:
        touch in interface io.netty.util.ReferenceCounted
        Specified by:
        touch in interface SmtpContent