Class HttpInboundEndpointParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.integration.http.config.HttpInboundEndpointParser
- All Implemented Interfaces:
BeanDefinitionParser
- Direct Known Subclasses:
WebFluxInboundEndpointParser
public class HttpInboundEndpointParser extends AbstractSingleBeanDefinitionParser
Parser for the 'inbound-channel-adapter' and 'inbound-gateway' elements
of the 'http' namespace. The constructor's boolean value specifies whether
a reply is to be expected. This value should be 'false' for the
'inbound-channel-adapter' and 'true' for the 'inbound-gateway'.
- Author:
- Mark Fisher, Oleg Zhurakousky, Gary Russell, Biju Kunjummen, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
Constructors Constructor Description HttpInboundEndpointParser(boolean expectReply) -
Method Summary
Modifier and Type Method Description protected voiddoParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)protected StringgetBeanClassName(Element element)protected StringresolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext)Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClass, getParentName, parseInternalMethods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
HttpInboundEndpointParser
public HttpInboundEndpointParser(boolean expectReply)
-
-
Method Details
-
getBeanClassName
- Overrides:
getBeanClassNamein classAbstractSingleBeanDefinitionParser
-
resolveId
protected String resolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext) throws BeanDefinitionStoreException- Overrides:
resolveIdin classAbstractBeanDefinitionParser- Throws:
BeanDefinitionStoreException
-
doParse
protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)- Overrides:
doParsein classAbstractSingleBeanDefinitionParser
-