/** * Sets the decorators of the annotated service object. {@code decorators} are applied to {@code service} in * order. */ public final U setDecorators( List<Function<Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>> decorators) { this.decorators = requireNonNull(decorators, "decorators"); return self(); }
/** * Registers an annotated service object. */ public final U setService(@NotNull T service) { this.service = service; return self(); }
/** * Registers an annotated service object. */ public final U setService(@NotNull T service) { this.service = service; return self(); }
/** * Sets service name to use in monitoring. */ public final U setServiceName(@NotNull String serviceName) { this.serviceName = serviceName; return self(); }
/** * Sets the decorators of the annotated service object. {@code decorators} are applied to {@code service} in * order. */ public final U setDecorators( List<Function<Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>> decorators) { this.decorators = requireNonNull(decorators, "decorators"); return self(); }
/** * Sets service name to use in monitoring. */ public final U setServiceName(@NotNull String serviceName) { this.serviceName = serviceName; return self(); }
/** * Sets the decorators of the annotated service object. {@code decorators} are applied to {@code service} in * order. */ public final U setDecorators( List<Function<Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>> decorators) { this.decorators = requireNonNull(decorators, "decorators"); return self(); }
/** * Registers an annotated service object. */ public final U setService(@NotNull T service) { this.service = service; return self(); }
/** * Sets service name to use in monitoring. */ public final U setServiceName(@NotNull String serviceName) { this.serviceName = serviceName; return self(); }
/** * Sets the decorators of the annotated service object. {@code decorators} are applied to {@code service} in * order. */ public final U setDecorators( List<Function<Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>> decorators) { this.decorators = requireNonNull(decorators, "decorators"); return self(); }
/** * Registers an annotated service object. */ public final U setService(@NotNull T service) { this.service = service; return self(); }
/** * Sets service name to use in monitoring. */ public final U setServiceName(@NotNull String serviceName) { this.serviceName = serviceName; return self(); }