@ConfigurationProperties(prefix="spring.cloud.function") public class FunctionProperties extends Object implements org.springframework.context.EnvironmentAware, org.springframework.context.ApplicationContextAware
| Modifier and Type | Class and Description |
|---|---|
static class |
FunctionProperties.FunctionConfigurationProperties |
| Modifier and Type | Field and Description |
|---|---|
static String |
EXPECT_CONTENT_TYPE_HEADER
Name of the header to be used to instruct function to apply this content type for output conversion.
|
static String |
FUNCTION_DEFINITION
The name of function definition property.
|
static String |
PREFIX
The name prefix for properties defined by this properties class.
|
static String |
SKIP_CONVERSION_HEADER
Deprecated.
since 3.1. Not used anymore
|
| Constructor and Description |
|---|
FunctionProperties() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.ApplicationContext |
getApplicationContext() |
Map<String,FunctionProperties.FunctionConfigurationProperties> |
getConfiguration() |
String |
getDefinition() |
String |
getExpectedContentType() |
List<String> |
getIneligibleDefinitions() |
String |
getRoutingExpression() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setConfiguration(Map<String,FunctionProperties.FunctionConfigurationProperties> configuration) |
void |
setDefinition(String definition) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setExpectedContentType(String expectedContentType) |
void |
setIneligibleDefinitions(List<String> definitions) |
void |
setRoutingExpression(String routingExpression) |
public static final String PREFIX
@Deprecated public static final String SKIP_CONVERSION_HEADER
public static final String EXPECT_CONTENT_TYPE_HEADER
public static final String FUNCTION_DEFINITION
public Map<String,FunctionProperties.FunctionConfigurationProperties> getConfiguration()
public void setConfiguration(Map<String,FunctionProperties.FunctionConfigurationProperties> configuration)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic org.springframework.context.ApplicationContext getApplicationContext()
public String getDefinition()
public void setDefinition(String definition)
public String getRoutingExpression()
public void setRoutingExpression(String routingExpression)
public String getExpectedContentType()
public void setExpectedContentType(String expectedContentType)
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwareCopyright © 2022 Pivotal Software, Inc.. All rights reserved.