Skip to the content.

Home / cs-notes / Architecture / Components / Netty / Bootstrap / AbstractBootstrap / handler

    /**
     * the {@link ChannelHandler} to use for serving the requests.
     */
    public B handler(ChannelHandler handler) {
        this.handler = ObjectUtil.checkNotNull(handler, "handler");
        return self();
    }