Class HttpRequestFunctionProperties
java.lang.Object
org.springframework.cloud.fn.http.request.HttpRequestFunctionProperties
@Validated
@ConfigurationProperties("http.request")
public class HttpRequestFunctionProperties
extends Object
Configuration properties for the Http Client Processor module.
- Author:
- Waldemar Hummer, Mark Fisher, Christian Tzolov, Artem Bilan, David Turanski, Sunny Hemdev
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull Class<?>
@NotNull Expression
long
@NotNull Expression
void
setBodyExpression
(Expression bodyExpression) void
setExpectedResponseType
(Class<?> expectedResponseType) void
setHeadersExpression
(Expression headersExpression) void
setHttpMethodExpression
(Expression httpMethodExpression) void
setReplyExpression
(Expression replyExpression) void
setTimeout
(long timeout) void
setUrlExpression
(Expression urlExpression)
-
Constructor Details
-
HttpRequestFunctionProperties
public HttpRequestFunctionProperties()
-
-
Method Details
-
getUrlExpression
-
setUrlExpression
-
getHttpMethodExpression
-
setHttpMethodExpression
-
getExpectedResponseType
-
setExpectedResponseType
-
getTimeout
public long getTimeout() -
setTimeout
public void setTimeout(long timeout) -
getBodyExpression
-
setBodyExpression
-
getHeadersExpression
-
setHeadersExpression
-
getReplyExpression
-
setReplyExpression
-