Rename ChannelHandlerContext.type() to ChannelHandlerContext.types() as it return a Set
This commit is contained in:
parent
ea3d304206
commit
100dd541ba
@ -157,7 +157,7 @@ public interface ChannelHandlerContext
|
||||
* The {@link ChannelHandler} that is bound this {@link ChannelHandlerContext}.
|
||||
*/
|
||||
ChannelHandler handler();
|
||||
Set<ChannelHandlerType> type();
|
||||
Set<ChannelHandlerType> types();
|
||||
|
||||
/**
|
||||
* Return <code>true</code> if the {@link ChannelHandlerContext} has an {@link ByteBuf} bound for inbound
|
||||
|
@ -349,7 +349,7 @@ final class DefaultChannelHandlerContext extends DefaultAttributeMap implements
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<ChannelHandlerType> type() {
|
||||
public Set<ChannelHandlerType> types() {
|
||||
return type;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user