Class HttpContextUtils
java.lang.Object
org.springframework.integration.http.config.HttpContextUtils
Utility class for accessing HTTP integration components
from the
BeanFactory.- Since:
- 3.0
- Author:
- Artem Bilan, Gary Russell
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringRepresents the bean name for the defaultIntegrationGraphController.static final StringRepresents the default request mapping path for theIntegrationGraphController.static final StringRepresents the environment property for theIntegrationGraphControllerrequest mapping path.static final StringThe name for the infrastructureIntegrationRequestMappingHandlerMappingbean.static final booleanAbooleanflag to indicate if theorg.springframework.web.reactive.DispatcherHandleris present in the CLASSPATH to allow the registration of Integration server reactive components, e.g.static final booleanAbooleanflag to indicate if theorg.springframework.web.servlet.DispatcherServletis present in the CLASSPATH to allow the registration of Integration server components, e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestMappingconvertRequestMappingToAnnotation(RequestMapping requestMapping) Converts a providedRequestMappingto the Spring WebRequestMappingannotation.
-
Field Details
-
WEB_MVC_PRESENT
public static final boolean WEB_MVC_PRESENTAbooleanflag to indicate if theorg.springframework.web.servlet.DispatcherServletis present in the CLASSPATH to allow the registration of Integration server components, e.g.IntegrationGraphController. -
WEB_FLUX_PRESENT
public static final boolean WEB_FLUX_PRESENTAbooleanflag to indicate if theorg.springframework.web.reactive.DispatcherHandleris present in the CLASSPATH to allow the registration of Integration server reactive components, e.g.IntegrationGraphController. -
HANDLER_MAPPING_BEAN_NAME
The name for the infrastructureIntegrationRequestMappingHandlerMappingbean.- See Also:
-
GRAPH_CONTROLLER_PATH_PROPERTY
Represents the environment property for theIntegrationGraphControllerrequest mapping path.- See Also:
-
GRAPH_CONTROLLER_DEFAULT_PATH
Represents the default request mapping path for theIntegrationGraphController.- See Also:
-
GRAPH_CONTROLLER_BEAN_NAME
Represents the bean name for the defaultIntegrationGraphController.- See Also:
-
-
Method Details
-
convertRequestMappingToAnnotation
Converts a providedRequestMappingto the Spring WebRequestMappingannotation.- Parameters:
requestMapping- theRequestMappingto convert.- Returns:
- the
RequestMappingannotation. - Since:
- 5.0
-