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
Modifier and TypeFieldDescriptionstatic final String
Represents the bean name for the defaultIntegrationGraphController
.static final String
Represents the default request mapping path for theIntegrationGraphController
.static final String
Represents the environment property for theIntegrationGraphController
request mapping path.static final String
The name for the infrastructureIntegrationRequestMappingHandlerMapping
bean.static final boolean
Aboolean
flag to indicate if theorg.springframework.web.reactive.DispatcherHandler
is present in the CLASSPATH to allow the registration of Integration server reactive components, e.g.static final boolean
Aboolean
flag to indicate if theorg.springframework.web.servlet.DispatcherServlet
is present in the CLASSPATH to allow the registration of Integration server components, e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestMapping
convertRequestMappingToAnnotation
(RequestMapping requestMapping) Converts a providedRequestMapping
to the Spring WebRequestMapping
annotation.
-
Field Details
-
WEB_MVC_PRESENT
public static final boolean WEB_MVC_PRESENTAboolean
flag to indicate if theorg.springframework.web.servlet.DispatcherServlet
is present in the CLASSPATH to allow the registration of Integration server components, e.g.IntegrationGraphController
. -
WEB_FLUX_PRESENT
public static final boolean WEB_FLUX_PRESENTAboolean
flag to indicate if theorg.springframework.web.reactive.DispatcherHandler
is present in the CLASSPATH to allow the registration of Integration server reactive components, e.g.IntegrationGraphController
. -
HANDLER_MAPPING_BEAN_NAME
The name for the infrastructureIntegrationRequestMappingHandlerMapping
bean.- See Also:
-
GRAPH_CONTROLLER_PATH_PROPERTY
Represents the environment property for theIntegrationGraphController
request 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 providedRequestMapping
to the Spring WebRequestMapping
annotation.- Parameters:
requestMapping
- theRequestMapping
to convert.- Returns:
- the
RequestMapping
annotation. - Since:
- 5.0
-