[#1710] Add missing duplicate() overrides in interfaces
This commit is contained in:
parent
54d788f435
commit
81258e9a4e
@ -50,7 +50,7 @@ final class ComposedLastHttpContent implements LastHttpContent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public HttpContent duplicate() {
|
public LastHttpContent duplicate() {
|
||||||
return copy();
|
return copy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,4 +28,7 @@ public interface FullHttpMessage extends HttpMessage, LastHttpContent {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
FullHttpMessage retain();
|
FullHttpMessage retain();
|
||||||
|
|
||||||
|
@Override
|
||||||
|
FullHttpMessage duplicate();
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,9 @@ public interface FullHttpRequest extends HttpRequest, FullHttpMessage {
|
|||||||
@Override
|
@Override
|
||||||
FullHttpRequest retain();
|
FullHttpRequest retain();
|
||||||
|
|
||||||
|
@Override
|
||||||
|
FullHttpRequest duplicate();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
FullHttpRequest setProtocolVersion(HttpVersion version);
|
FullHttpRequest setProtocolVersion(HttpVersion version);
|
||||||
|
|
||||||
|
@ -29,6 +29,9 @@ public interface FullHttpResponse extends HttpResponse, FullHttpMessage {
|
|||||||
@Override
|
@Override
|
||||||
FullHttpResponse retain();
|
FullHttpResponse retain();
|
||||||
|
|
||||||
|
@Override
|
||||||
|
FullHttpResponse duplicate();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
FullHttpResponse setProtocolVersion(HttpVersion version);
|
FullHttpResponse setProtocolVersion(HttpVersion version);
|
||||||
|
|
||||||
|
@ -95,4 +95,7 @@ public interface LastHttpContent extends HttpContent {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
LastHttpContent retain();
|
LastHttpContent retain();
|
||||||
|
|
||||||
|
@Override
|
||||||
|
LastHttpContent duplicate();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user