1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package io.netty.handler.codec.smtp;
17
18 import io.netty.buffer.ByteBuf;
19 import io.netty.util.internal.UnstableApi;
20
21
22
23
24 @UnstableApi
25 public final class DefaultLastSmtpContent extends DefaultSmtpContent implements LastSmtpContent {
26
27
28
29
30 public DefaultLastSmtpContent(ByteBuf data) {
31 super(data);
32 }
33
34 @Override
35 public LastSmtpContent copy() {
36 return (LastSmtpContent) super.copy();
37 }
38
39 @Override
40 public LastSmtpContent duplicate() {
41 return (LastSmtpContent) super.duplicate();
42 }
43
44 @Override
45 public LastSmtpContent retainedDuplicate() {
46 return (LastSmtpContent) super.retainedDuplicate();
47 }
48
49 @Override
50 public LastSmtpContent replace(ByteBuf content) {
51 return new DefaultLastSmtpContent(content);
52 }
53
54 @Override
55 public DefaultLastSmtpContent retain() {
56 super.retain();
57 return this;
58 }
59
60 @Override
61 public DefaultLastSmtpContent retain(int increment) {
62 super.retain(increment);
63 return this;
64 }
65
66 @Override
67 public DefaultLastSmtpContent touch() {
68 super.touch();
69 return this;
70 }
71
72 @Override
73 public DefaultLastSmtpContent touch(Object hint) {
74 super.touch(hint);
75 return this;
76 }
77 }