- Common ways to obtain DefaultFullHttpRequest
private void myMethod () {DefaultFullHttpRequest d =
HttpVersion httpVersion;HttpMethod method;String uri;new DefaultFullHttpRequest(httpVersion, method, uri)
HttpVersion httpVersion;HttpMethod method;String uri;ByteBuf content;new DefaultFullHttpRequest(httpVersion, method, uri, content)
- Smart code suggestions by Codota
}
/** * We override to avoid a Findbugs warning. We ignore the operation field on purpose. */ @Override public boolean equals(Object other) { if (!(other instanceof NettyFullHttpRequest)) { return false; } return super.equals(other); }