Uses of Interface
org.springframework.cloud.client.ServiceInstance
Packages that use ServiceInstance
Package
Description
Spring Cloud client abstractions.
Spring Cloud service discovery abstractions.
Spring Cloud load balancer abstractions.
Spring Cloud service registry abstractions.
-
Uses of ServiceInstance in org.springframework.cloud.client
Classes in org.springframework.cloud.client that implement ServiceInstanceMethods in org.springframework.cloud.client with parameters of type ServiceInstanceModifier and TypeMethodDescriptionstatic URIServiceInstance.createUri(ServiceInstance instance) Creates a URI from the given ServiceInstance's host:port. -
Uses of ServiceInstance in org.springframework.cloud.client.discovery
Methods in org.springframework.cloud.client.discovery that return types with arguments of type ServiceInstanceModifier and TypeMethodDescriptionDiscoveryClient.getInstances(String serviceId) Gets all ServiceInstances associated with a particular serviceId.reactor.core.publisher.Flux<ServiceInstance> ReactiveDiscoveryClient.getInstances(String serviceId) Gets all ServiceInstances associated with a particular serviceId. -
Uses of ServiceInstance in org.springframework.cloud.client.discovery.composite
Methods in org.springframework.cloud.client.discovery.composite that return types with arguments of type ServiceInstance -
Uses of ServiceInstance in org.springframework.cloud.client.discovery.composite.reactive
Methods in org.springframework.cloud.client.discovery.composite.reactive that return types with arguments of type ServiceInstanceModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ServiceInstance> ReactiveCompositeDiscoveryClient.getInstances(String serviceId) -
Uses of ServiceInstance in org.springframework.cloud.client.discovery.simple
Methods in org.springframework.cloud.client.discovery.simple that return ServiceInstanceMethods in org.springframework.cloud.client.discovery.simple that return types with arguments of type ServiceInstance -
Uses of ServiceInstance in org.springframework.cloud.client.discovery.simple.reactive
Methods in org.springframework.cloud.client.discovery.simple.reactive that return types with arguments of type ServiceInstanceModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ServiceInstance> SimpleReactiveDiscoveryClient.getInstances(String serviceId) -
Uses of ServiceInstance in org.springframework.cloud.client.hypermedia
Methods in org.springframework.cloud.client.hypermedia that return ServiceInstanceModifier and TypeMethodDescriptionDynamicServiceInstanceProvider.getServiceInstance()ServiceInstanceProvider.getServiceInstance()Returns the service instance or null if the service is currently unavailable.StaticServiceInstanceProvider.getServiceInstance()Constructors in org.springframework.cloud.client.hypermedia with parameters of type ServiceInstance -
Uses of ServiceInstance in org.springframework.cloud.client.loadbalancer
Classes in org.springframework.cloud.client.loadbalancer that implement interfaces with type arguments of type ServiceInstanceMethods in org.springframework.cloud.client.loadbalancer that return ServiceInstanceModifier and TypeMethodDescriptionChooses a ServiceInstance from the LoadBalancer for the specified service.<T> ServiceInstanceChooses a ServiceInstance from the LoadBalancer for the specified service and LoadBalancer request.@Nullable ServiceInstanceLoadBalancedRetryContext.getPreviousServiceInstance()@Nullable ServiceInstanceRetryableRequestContext.getPreviousServiceInstance()@Nullable ServiceInstanceDefaultResponse.getServer()@Nullable ServiceInstanceEmptyResponse.getServer()@Nullable ServiceInstanceLoadBalancedRetryContext.getServiceInstance()Gets the service instance used during the retry.Methods in org.springframework.cloud.client.loadbalancer with parameters of type ServiceInstanceModifier and TypeMethodDescriptionLoadBalancerRequest.apply(ServiceInstance instance) LoadBalancerRequestAdapter.apply(ServiceInstance instance) <T> TLoadBalancerClient.execute(String serviceId, ServiceInstance serviceInstance, LoadBalancerRequest<T> request) Executes request using a ServiceInstance from the LoadBalancer for the specified service.LoadBalancerClient.reconstructURI(ServiceInstance instance, URI original) Creates a proper URI with a real host and port for systems to utilize.static URILoadBalancerUriTools.reconstructURI(ServiceInstance serviceInstance, URI original) Modifies the URI in order to redirect the request to a service instance of choice.voidLoadBalancedRetryContext.setPreviousServiceInstance(@Nullable ServiceInstance previousServiceInstance) voidRetryableRequestContext.setPreviousServiceInstance(@Nullable ServiceInstance previousServiceInstance) voidLoadBalancedRetryContext.setServiceInstance(@Nullable ServiceInstance serviceInstance) Sets the service instance to use during the retry.org.springframework.http.HttpRequestLoadBalancerRequestTransformer.transformRequest(org.springframework.http.HttpRequest request, @Nullable ServiceInstance instance) Method parameters in org.springframework.cloud.client.loadbalancer with type arguments of type ServiceInstanceModifier and TypeMethodDescriptionLoadBalancerAutoConfiguration.RetryInterceptorAutoConfiguration.loadBalancerInterceptor(LoadBalancerClient loadBalancerClient, LoadBalancerRequestFactory requestFactory, LoadBalancedRetryFactory loadBalancedRetryFactory, ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory) Constructors in org.springframework.cloud.client.loadbalancer with parameters of type ServiceInstanceModifierConstructorDescriptionDefaultResponse(ServiceInstance serviceInstance) RetryableRequestContext(@Nullable ServiceInstance previousServiceInstance) RetryableRequestContext(@Nullable ServiceInstance previousServiceInstance, RequestData clientRequestData) RetryableRequestContext(@Nullable ServiceInstance previousServiceInstance, RequestData clientRequestData, String hint) ServiceRequestWrapper(org.springframework.http.HttpRequest request, ServiceInstance instance, LoadBalancerClient loadBalancer) Constructor parameters in org.springframework.cloud.client.loadbalancer with type arguments of type ServiceInstanceModifierConstructorDescriptionRetryLoadBalancerInterceptor(LoadBalancerClient loadBalancer, LoadBalancerRequestFactory requestFactory, LoadBalancedRetryFactory lbRetryFactory, ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory) -
Uses of ServiceInstance in org.springframework.cloud.client.loadbalancer.reactive
Methods in org.springframework.cloud.client.loadbalancer.reactive that return types with arguments of type ServiceInstanceModifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<Response<ServiceInstance>> ReactorLoadBalancerExchangeFilterFunction.choose(String serviceId, Request<RequestDataContext> request) protected reactor.core.publisher.Mono<Response<ServiceInstance>> RetryableLoadBalancerExchangeFilterFunction.choose(String serviceId, Request<RetryableRequestContext> request) Methods in org.springframework.cloud.client.loadbalancer.reactive with parameters of type ServiceInstanceModifier and TypeMethodDescriptionorg.springframework.web.reactive.function.client.ClientRequestLoadBalancerClientRequestTransformer.transformRequest(org.springframework.web.reactive.function.client.ClientRequest request, ServiceInstance instance) Method parameters in org.springframework.cloud.client.loadbalancer.reactive with type arguments of type ServiceInstanceModifier and TypeMethodDescriptionReactorLoadBalancerClientAutoConfiguration.loadBalancerExchangeFilterFunction(ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory, org.springframework.beans.factory.ObjectProvider<List<LoadBalancerClientRequestTransformer>> transformers) ReactorLoadBalancerClientAutoConfiguration.loadBalancerRetryPolicy(ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory) ReactorLoadBalancerClientAutoConfiguration.retryableLoadBalancerExchangeFilterFunction(ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory, LoadBalancerRetryPolicy.Factory retryPolicyFactory, org.springframework.beans.factory.ObjectProvider<List<LoadBalancerClientRequestTransformer>> transformers) Constructor parameters in org.springframework.cloud.client.loadbalancer.reactive with type arguments of type ServiceInstanceModifierConstructorDescriptionReactorLoadBalancerExchangeFilterFunction(ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory, List<LoadBalancerClientRequestTransformer> transformers) RetryableLoadBalancerExchangeFilterFunction(LoadBalancerRetryPolicy.Factory retryPolicyFactory, ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory, List<LoadBalancerClientRequestTransformer> transformers) -
Uses of ServiceInstance in org.springframework.cloud.client.serviceregistry
Subinterfaces of ServiceInstance in org.springframework.cloud.client.serviceregistry