Fix JavaDoc of RuleBasedIpFilter (#10521)
Motivation: `RuleBasedIpFilter` had JavaDoc `{@link #channelRejected(ChannelHandlerContext, SocketAddress)}` instead of `{@link AbstractRemoteAddressFilter#channelRejected(ChannelHandlerContext, SocketAddress)}`. Modification: Added `AbstractRemoteAddressFilter` reference. Result: Fixed JavaDoc error and made documentation more clear.
This commit is contained in:
parent
d487086a2c
commit
39c840d711
@ -29,7 +29,7 @@ import java.net.SocketAddress;
|
|||||||
* will be accepted.
|
* will be accepted.
|
||||||
*
|
*
|
||||||
* If you would like to explicitly take action on rejected {@link Channel}s, you should override
|
* If you would like to explicitly take action on rejected {@link Channel}s, you should override
|
||||||
* {@link #channelRejected(ChannelHandlerContext, SocketAddress)}.
|
* {@link AbstractRemoteAddressFilter#channelRejected(ChannelHandlerContext, SocketAddress)}.
|
||||||
*/
|
*/
|
||||||
@Sharable
|
@Sharable
|
||||||
public class RuleBasedIpFilter extends AbstractRemoteAddressFilter<InetSocketAddress> {
|
public class RuleBasedIpFilter extends AbstractRemoteAddressFilter<InetSocketAddress> {
|
||||||
|
Loading…
Reference in New Issue
Block a user