Class FunctionHttpProperties
java.lang.Object
org.springframework.cloud.function.web.FunctionHttpProperties
@ConfigurationProperties(prefix="spring.cloud.function.http")
public class FunctionHttpProperties
extends Object
- Since:
- 4.0.4
- Author:
- Oleg Zhurakousky
-
Field Summary
FieldsModifier and TypeFieldDescriptionFunction definition mappings for DELETE method (e.g.Function definition mappings for GET method (e.g.List of headers to be ignored when generating HttpHeaders (request or response).Function definition mappings for POST method (e.g.Function definition mappings for PUT method (e.g.List of headers that must remain only in the request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGet()getPost()getPut()voidvoidvoidsetIgnoredHeaders(List<String> ignoredHeaders) voidvoidvoidsetRequestOnlyHeaders(List<String> requestOnlyHeaders)
-
Field Details
-
get
Function definition mappings for GET method (e.g. 'spring.cloud.function.http.GET=foo;bar|baz') -
post
Function definition mappings for POST method (e.g. 'spring.cloud.function.http.POST=foo;bar|baz') -
put
Function definition mappings for PUT method (e.g. 'spring.cloud.function.http.PUT=foo;bar|baz') -
delete
Function definition mappings for DELETE method (e.g. 'spring.cloud.function.http.DELETE=foo;bar|baz') -
ignoredHeaders
-
requestOnlyHeaders
-
-
Constructor Details
-
FunctionHttpProperties
public FunctionHttpProperties()
-
-
Method Details
-
getGet
-
setGet
-
getPost
-
setPost
-
getPut
-
setPut
-
getDelete
-
setDelete
-
getIgnoredHeaders
-
setIgnoredHeaders
-
getRequestOnlyHeaders
-
setRequestOnlyHeaders
-