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 SummaryFieldsModifier 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 SummaryModifier and TypeMethodDescriptionstatic RequestMappingconvertRequestMappingToAnnotation(RequestMapping requestMapping) Converts a providedRequestMappingto the Spring WebRequestMappingannotation.
- 
Field Details- 
WEB_MVC_PRESENTpublic 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_PRESENTpublic 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_NAMEThe name for the infrastructureIntegrationRequestMappingHandlerMappingbean.- See Also:
 
- 
GRAPH_CONTROLLER_PATH_PROPERTYRepresents the environment property for theIntegrationGraphControllerrequest mapping path.- See Also:
 
- 
GRAPH_CONTROLLER_DEFAULT_PATHRepresents the default request mapping path for theIntegrationGraphController.- See Also:
 
- 
GRAPH_CONTROLLER_BEAN_NAMERepresents the bean name for the defaultIntegrationGraphController.- See Also:
 
 
- 
- 
Method Details- 
convertRequestMappingToAnnotationConverts a providedRequestMappingto the Spring WebRequestMappingannotation.- Parameters:
- requestMapping- the- RequestMappingto convert.
- Returns:
- the RequestMappingannotation.
- Since:
- 5.0
 
 
-