Skip to content

Commit bc776a6

Browse files
committed
Fix capitalisation in docs.
1 parent 0646f9f commit bc776a6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/modules/ROOT/pages/spring-cloud-openfeign.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ TIP: For Spring Cloud Contract test integration, lazy attribute resolution shoul
9090
[[spring-cloud-feign-overriding-defaults]]
9191
=== Overriding Feign Defaults
9292

93-
A central concept in Spring Cloud's Feign support is that of the named client. Each feign client is part of an ensemble of components that work together to contact a remote server on demand, and the ensemble has a name that you give it as an application developer using the `@FeignClient` annotation. Spring Cloud creates a new ensemble as an
93+
A central concept in Spring Cloud's Feign support is that of the named client. Each Feign client is part of an ensemble of components that work together to contact a remote server on demand, and the ensemble has a name that you give it as an application developer using the `@FeignClient` annotation. Spring Cloud creates a new ensemble as an
9494
`ApplicationContext` on demand for each named client using `FeignClientsConfiguration`. This contains (amongst other things) an `feign.Decoder`, a `feign.Encoder`, and a `feign.Contract`.
9595
It is possible to override the name of that ensemble by using the `contextId`
9696
attribute of the `@FeignClient` annotation.
9797

98-
Spring Cloud lets you take full control of the feign client by declaring additional configuration (on top of the `FeignClientsConfiguration`) using `@FeignClient`. Example:
98+
Spring Cloud lets you take full control of the Feign client by declaring additional configuration (on top of the `FeignClientsConfiguration`) using `@FeignClient`. Example:
9999

100100
[source,java,indent=0]
101101
----
@@ -136,7 +136,7 @@ Spring Cloud OpenFeign provides the following beans by default for feign (`BeanT
136136
* `Contract` feignContract: `SpringMvcContract`
137137
* `Feign.Builder` feignBuilder: `FeignCircuitBreaker.Builder`
138138
* `Client` feignClient: If Spring Cloud LoadBalancer is on the classpath, `FeignBlockingLoadBalancerClient` is used.
139-
If none of them is on the classpath, the default feign client is used.
139+
If none of them is on the classpath, the default Feign client is used.
140140

141141
NOTE: `spring-cloud-starter-openfeign` supports `spring-cloud-starter-loadbalancer`. However, as is an optional dependency, you need to make sure it has been added to your project if you want to use it.
142142

@@ -150,7 +150,7 @@ If you can not configure Apache HttpClient 5 by using properties, there is an `H
150150

151151
TIP: Starting with Spring Cloud OpenFeign 4, the Feign Apache HttpClient 4 is no longer supported. We suggest using Apache HttpClient 5 instead.
152152

153-
Spring Cloud OpenFeign _does not_ provide the following beans by default for feign, but still looks up beans of these types from the application context to create the feign client:
153+
Spring Cloud OpenFeign _does not_ provide the following beans by default for feign, but still looks up beans of these types from the application context to create the Feign client:
154154

155155
* `Logger.Level`
156156
* `Retryer`
@@ -223,7 +223,7 @@ spring:
223223
`feignName` in this example refers to `@FeignClient` `value`, that is also aliased with `@FeignClient` `name` and `@FeignClient` `contextId`. In a load-balanced scenario, it also corresponds to the `serviceId` of the server app that will be used to retrieve the instances. The specified classes for decoders, retryer and other ones must have a bean in the Spring context or have a default constructor.
224224

225225

226-
Default configurations can be specified in the `@EnableFeignClients` attribute `defaultConfiguration` in a similar manner as described above. The difference is that this configuration will apply to _all_ feign clients.
226+
Default configurations can be specified in the `@EnableFeignClients` attribute `defaultConfiguration` in a similar manner as described above. The difference is that this configuration will apply to _all_ Feign clients.
227227

228228
If you prefer using configuration properties to configure all `@FeignClient`, you can create configuration properties with `default` feign name.
229229

@@ -247,7 +247,7 @@ If we create both `@Configuration` bean and configuration properties, configurat
247247
It will override `@Configuration` values. But if you want to change the priority to `@Configuration`,
248248
you can change `spring.cloud.openfeign.client.default-to-properties` to `false`.
249249

250-
If we want to create multiple feign clients with the same name or url
250+
If we want to create multiple Feign clients with the same name or url
251251
so that they would point to the same server but each with a different custom configuration then
252252
we have to use `contextId` attribute of the `@FeignClient` in order to avoid name
253253
collision of these configuration beans.
@@ -758,7 +758,7 @@ public class Params {
758758
}
759759
----
760760

761-
The following feign client uses the `Params` class by using the `@SpringQueryMap` annotation:
761+
The following Feign client uses the `Params` class by using the `@SpringQueryMap` annotation:
762762

763763
[source,java,indent=0]
764764
----

0 commit comments

Comments
 (0)