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}.
|
* The {@link ChannelHandler} that is bound this {@link ChannelHandlerContext}.
|
||||||
*/
|
*/
|
||||||
ChannelHandler handler();
|
ChannelHandler handler();
|
||||||
Set<ChannelHandlerType> type();
|
Set<ChannelHandlerType> types();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return <code>true</code> if the {@link ChannelHandlerContext} has an {@link ByteBuf} bound for inbound
|
* 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
|
@Override
|
||||||
public Set<ChannelHandlerType> type() {
|
public Set<ChannelHandlerType> types() {
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user