mirror of
https://github.com/spring-cloud/spring-cloud-netflix.git
synced 2026-10-10 14:39:01 +00:00
Sync docs from master to gh-pages
This commit is contained in:
@@ -769,6 +769,37 @@ another <code>SmartLifecycle</code> with higher phase.</p>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="sect3">
|
||||
<h4 id="_eurekaclient_without_jersey">EurekaClient without Jersey</h4>
|
||||
<div class="paragraph">
|
||||
<p>By default, EurekaClient uses Jersey for HTTP communication. If you wish
|
||||
to avoid dependencies from Jersey, you can exclude it from your dependencies.
|
||||
Spring Cloud will auto configure a transport client based on Spring
|
||||
<code>RestTemplate</code>.</p>
|
||||
</div>
|
||||
<div class="listingblock">
|
||||
<div class="content">
|
||||
<pre><dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-eureka</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.sun.jersey</groupId>
|
||||
<artifactId>jersey-client</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>com.sun.jersey</groupId>
|
||||
<artifactId>jersey-core</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>com.sun.jersey.contribs</groupId>
|
||||
<artifactId>jersey-apache-client4</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency></pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_alternatives_to_the_native_netflix_eurekaclient">Alternatives to the native Netflix EurekaClient</h3>
|
||||
|
||||
Reference in New Issue
Block a user