META-INF.additional-spring-configuration-metadata.json Maven / Gradle / Ivy
The newest version!
{
"groups": [],
"properties": [
{
"name": "spring.rest.jdkhttp.enabled",
"type": "java.lang.Boolean",
"defaultValue": false,
"description": "Enables the use of the JDK(11 and above) HTTP Client by Spring RestTemplate."
},
{
"name": "spring.rest.jdkhttp.level",
"type": "org.springframework.web.client.logger.HttpLogLevel",
"defaultValue": "BASIC",
"description": "Requests Log level for this client.It must be one of 'NONE', 'BASIC', 'HEADERS', 'BODY'."
},
{
"name": "spring.rest.jdkhttp.connection-timeout",
"type": "java.time.Duration",
"defaultValue": "2000ms",
"description": "Connect timeout duration for this client."
},
{
"name": "spring.rest.jdkhttp.read-timeout",
"type": "java.time.Duration",
"defaultValue": "2000ms",
"description": "Read timeout duration for this client."
},
{
"name": "spring.rest.jdkhttp.http2-priority",
"type": "java.time.Integer",
"description": "Default priority for any HTTP/2 requests sent from this client. The value provided must be between code 1 and code 256 (inclusive)."
},
{
"name": "spring.rest.jdkhttp.redirect",
"type": "java.net.http.HttpClient$Redirect",
"defaultValue": "ALWAYS",
"description": "Specifies whether requests will automatically follow redirects issued by the server.It must be one of 'NEVER', 'ALWAYS', 'NORMAL'."
},
{
"name": "spring.rest.jdkhttp.http-version",
"type": "java.net.http.HttpClient$Version",
"defaultValue": "HTTP_1_1",
"description": "Requests a specific HTTP protocol version where possible.It must be 'HTTP_1_1' or 'HTTP_2'."
}
]
}