Skip to content

Commit 6c75b19

Browse files
committed
Release 3.3.0
1 parent 16f20a1 commit 6c75b19

File tree

2 files changed

+19
-18
lines changed

2 files changed

+19
-18
lines changed

gradle.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group=io.github.danielliu1123
2-
version=3.3.0-RC2-SNAPSHOT
2+
version=3.3.0-SNAPSHOT
33

44
springBootVersion=3.3.0
55
# https://docs.spring.io/spring-cloud-release/reference/index.html
@@ -22,6 +22,7 @@ spotbugsVersion=6.0.18
2222
# https://github.com/spotbugs/spotbugs-gradle-plugin/blob/master/build.gradle.kts
2323
spotbugsAnnotationsVersion=4.8.6
2424

25-
graalvmBuildToolsVersion=0.10.1
25+
# https://github.com/graalvm/native-build-tools
26+
graalvmBuildToolsVersion=0.10.2
2627

2728
org.gradle.jvmargs=-Xmx2g

website/docs/40-configuration-properties.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@ This page was generated by [spring-configuration-property-documenter](https://gi
2020

2121
|Key|Type|Description|Default value|Deprecation|
2222
|---|----|-----------|-------------|-----------|
23-
| base-packages| java.util.Set<java.lang.String>| | | |
24-
| base-url| java.lang.String| | | |
25-
| bean-to-query-enabled| java.lang.Boolean| | | |
26-
| channels| java.util.List<io.github.danielliu1123.httpexchange.HttpExchangeProperties$Channel>| | | |
27-
| client-type| io.github.danielliu1123.httpexchange.HttpExchangeProperties$ClientType| | | |
28-
| clients| java.util.Set<java.lang.Class<?>>| | | |
29-
| connect-timeout| java.lang.Integer| | | |
30-
| enabled| java.lang.Boolean| | | |
31-
| headers| java.util.List<io.github.danielliu1123.httpexchange.HttpExchangeProperties$Header>| | | |
32-
| http-client-reuse-enabled| java.lang.Boolean| | | |
33-
| loadbalancer-enabled| java.lang.Boolean| | | |
34-
| read-timeout| java.lang.Integer| | | |
35-
| request-mapping-support-enabled| java.lang.Boolean| | | |
36-
| warn-unused-config-enabled| java.lang.Boolean| | | |
23+
| base-packages| java.util.Set<java.lang.String>| Base packages to scan, use \{@link EnableExchangeClients#basePackages} first if configured.| | |
24+
| base-url| java.lang.String| Default base url, 'http' scheme can be omitted. <p> If loadbalancer is enabled, this value means the service id. <ul> <li> localhost:8080 </li> <li> http://localhost:8080 </li> <li> https://localhost:8080 </li> <li> localhost:8080/api </li> <li> user(service id) </li> </ul>| | |
25+
| bean-to-query-enabled| java.lang.Boolean| Whether to convert Java bean to query parameters, default value is \{@code false}.| false| |
26+
| channels| java.util.List<io.github.danielliu1123.httpexchange.HttpExchangeProperties$Channel>| Channels configuration.| | |
27+
| client-type| io.github.danielliu1123.httpexchange.HttpExchangeProperties$ClientType| Client Type, if not specified, an appropriate client type will be set. <ul> <li> Use \{@link ClientType#REST_CLIENT} if none of the methods in the client return Reactive type. <li> Use \{@link ClientType#WEB_CLIENT} if any method in the client returns Reactive type. </ul> <p> In most cases, there's no need to explicitly specify the client type. <p color="orange"> NOTE: the \{@link #connectTimeout} and \{@link #readTimeout} settings are not supported by \{@link ClientType#WEB_CLIENT}. @see ClientType @since 3.2.0| | |
28+
| clients| java.util.Set<java.lang.Class<?>>| Exchange client interfaces to register as beans, use \{@link EnableExchangeClients#clients} first if configured. @since 3.2.0| | |
29+
| connect-timeout| java.lang.Integer| Connect timeout duration, specified in milliseconds. @since 3.2.0| | |
30+
| enabled| java.lang.Boolean| Whether to enable http exchange autoconfiguration, default \{@code true}.| true| |
31+
| headers| java.util.List<io.github.danielliu1123.httpexchange.HttpExchangeProperties$Header>| Default headers will be added to all the requests.| | |
32+
| http-client-reuse-enabled| java.lang.Boolean| Whether to enable http client reuse, default \{@code true}. <p> Same \{@link Channel} configuration will share the same http client if enabled. @since 3.2.2| true| |
33+
| loadbalancer-enabled| java.lang.Boolean| Whether to enable loadbalancer, default \{@code true}. <p> Prerequisites: <ul> <li> \{@code spring-cloud-starter-loadbalancer} dependency in the classpath.</li> <li> \{@code spring.cloud.loadbalancer.enabled=true}</li> </ul> @since 3.2.0| true| |
34+
| read-timeout| java.lang.Integer| Read timeout duration, specified in milliseconds. @since 3.2.0| | |
35+
| request-mapping-support-enabled| java.lang.Boolean| whether to process \{@link org.springframework.web.bind.annotation.RequestMapping} based annotation, default \{@code false}. <p color="red"> Recommending to use \{@link org.springframework.web.service.annotation.HttpExchange} instead of \{@link org.springframework.web.bind.annotation.RequestMapping}. @since 3.2.0| false| |
36+
| warn-unused-config-enabled| java.lang.Boolean| Whether to check unused configuration, default \{@code true}. @since 3.2.0| true| |
3737
### http-exchange.refresh
3838
**Class:** `io.github.danielliu1123.httpexchange.HttpExchangeProperties$Refresh`
3939

4040
|Key|Type|Description|Default value|Deprecation|
4141
|---|----|-----------|-------------|-----------|
42-
| enabled| java.lang.Boolean| | | |
42+
| enabled| java.lang.Boolean| Whether to enable refresh exchange clients, default \{@code false}. <p> This feature needs \{@code spring-cloud-context} dependency in the classpath. <p color="orange"> NOTE: This feature is not supported by native image. @see <a href="https://github.com/spring-cloud/spring-cloud-release/wiki/AOT-transformations-and-native-image-support#refresh-scope">Refresh Scope</a>| false| |
4343

44-
This is a generated file, generated at: **2024-07-02T00:26:10.311057**
44+
This is a generated file, generated at: **2024-07-03T19:52:43.989145**

0 commit comments

Comments
 (0)