Interface SmtpContent

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

    @UnstableApi
    public interface SmtpContent
    extends io.netty.buffer.ByteBufHolder
    Content that is sent after the 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

      • copy

        SmtpContent copy()
        Specified by:
        copy in interface io.netty.buffer.ByteBufHolder
      • duplicate

        SmtpContent duplicate()
        Specified by:
        duplicate in interface io.netty.buffer.ByteBufHolder
      • retainedDuplicate

        SmtpContent retainedDuplicate()
        Specified by:
        retainedDuplicate in interface io.netty.buffer.ByteBufHolder
      • replace

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

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

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

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

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