public ServerBuilder register(ServerBuilder serverBuilder) {
        requireNonNull(serverBuilder, "serverBuilder");
        final String path = path();
        serverBuilder.service("prefix:" + path, this);
        final ServerListenerBuilder serverListenerBuilder = ServerListener.builder();
        serverListenerBuilder.whenStarting(this::start);
        serverListenerBuilder.whenStopping(this::stop);
        serverBuilder.serverListener(serverListenerBuilder.build());
        return serverBuilder;
    }
Registers {@link ResteasyService} with Armeria {@link ServerBuilder}.
resteasy/src/main/java/com/linecorp/armeria/server/resteasy/ResteasyService.java