Class HttpContextUtils

java.lang.Object
org.springframework.integration.http.config.HttpContextUtils

public final class HttpContextUtils
extends java.lang.Object
Utility class for accessing HTTP integration components from the BeanFactory.
Since:
3.0
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String GRAPH_CONTROLLER_BEAN_NAME
    Represents the bean name for the default IntegrationGraphController.
    static java.lang.String GRAPH_CONTROLLER_DEFAULT_PATH
    Represents the default request mapping path for the IntegrationGraphController.
    static java.lang.String GRAPH_CONTROLLER_PATH_PROPERTY
    Represents the environment property for the IntegrationGraphController request mapping path.
    static java.lang.String HANDLER_MAPPING_BEAN_NAME
    The name for the infrastructure IntegrationRequestMappingHandlerMapping bean.
    static boolean WEB_FLUX_PRESENT
    A boolean flag to indicate if the org.springframework.web.reactive.DispatcherHandler is present in the CLASSPATH to allow the registration of Integration server reactive components, e.g.
    static boolean WEB_MVC_PRESENT
    A boolean flag to indicate if the org.springframework.web.servlet.DispatcherServlet is present in the CLASSPATH to allow the registration of Integration server components, e.g.
  • Method Summary

    Modifier and Type Method Description
    static org.springframework.web.bind.annotation.RequestMapping convertRequestMappingToAnnotation​(RequestMapping requestMapping)
    Converts a provided RequestMapping to the Spring Web RequestMapping annotation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • WEB_MVC_PRESENT

      public static final boolean WEB_MVC_PRESENT
      A boolean flag to indicate if the org.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_PRESENT
      A boolean flag to indicate if the org.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

      public static final java.lang.String HANDLER_MAPPING_BEAN_NAME
      The name for the infrastructure IntegrationRequestMappingHandlerMapping bean.
      See Also:
      Constant Field Values
    • GRAPH_CONTROLLER_PATH_PROPERTY

      public static final java.lang.String GRAPH_CONTROLLER_PATH_PROPERTY
      Represents the environment property for the IntegrationGraphController request mapping path.
      See Also:
      Constant Field Values
    • GRAPH_CONTROLLER_DEFAULT_PATH

      public static final java.lang.String GRAPH_CONTROLLER_DEFAULT_PATH
      Represents the default request mapping path for the IntegrationGraphController.
      See Also:
      Constant Field Values
    • GRAPH_CONTROLLER_BEAN_NAME

      public static final java.lang.String GRAPH_CONTROLLER_BEAN_NAME
      Represents the bean name for the default IntegrationGraphController.
      See Also:
      Constant Field Values
  • Method Details