[#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
|
||||
public HttpContent duplicate() {
|
||||
public LastHttpContent duplicate() {
|
||||
return copy();
|
||||
}
|
||||
|
||||
|
@ -28,4 +28,7 @@ public interface FullHttpMessage extends HttpMessage, LastHttpContent {
|
||||
|
||||
@Override
|
||||
FullHttpMessage retain();
|
||||
|
||||
@Override
|
||||
FullHttpMessage duplicate();
|
||||
}
|
||||
|
@ -29,6 +29,9 @@ public interface FullHttpRequest extends HttpRequest, FullHttpMessage {
|
||||
@Override
|
||||
FullHttpRequest retain();
|
||||
|
||||
@Override
|
||||
FullHttpRequest duplicate();
|
||||
|
||||
@Override
|
||||
FullHttpRequest setProtocolVersion(HttpVersion version);
|
||||
|
||||
|
@ -29,6 +29,9 @@ public interface FullHttpResponse extends HttpResponse, FullHttpMessage {
|
||||
@Override
|
||||
FullHttpResponse retain();
|
||||
|
||||
@Override
|
||||
FullHttpResponse duplicate();
|
||||
|
||||
@Override
|
||||
FullHttpResponse setProtocolVersion(HttpVersion version);
|
||||
|
||||
|
@ -95,4 +95,7 @@ public interface LastHttpContent extends HttpContent {
|
||||
|
||||
@Override
|
||||
LastHttpContent retain();
|
||||
|
||||
@Override
|
||||
LastHttpContent duplicate();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user