Class BaseHttpInboundEndpointSpec<S extends BaseHttpInboundEndpointSpec<S,E>,E extends HttpRequestHandlingEndpointSupport>
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,G>
org.springframework.integration.dsl.MessagingGatewaySpec<S,E>
org.springframework.integration.http.dsl.HttpInboundEndpointSupportSpec<S,E>
org.springframework.integration.http.dsl.BaseHttpInboundEndpointSpec<S,E>
- Type Parameters:
S
- the targetBaseHttpInboundEndpointSpec
implementation type.E
- the targetHttpRequestHandlingEndpointSupport
implementation type.
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<E>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
,ComponentsRegistration
- Direct Known Subclasses:
HttpControllerEndpointSpec
,HttpRequestHandlerEndpointSpec
public abstract class BaseHttpInboundEndpointSpec<S extends BaseHttpInboundEndpointSpec<S,E>,E extends HttpRequestHandlingEndpointSupport>
extends HttpInboundEndpointSupportSpec<S,E>
A base
MessagingGatewaySpec
for the
HttpRequestHandlingEndpointSupport
implementations.- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.integration.http.dsl.HttpInboundEndpointSupportSpec
HttpInboundEndpointSupportSpec.CrossOriginSpec, HttpInboundEndpointSupportSpec.RequestMappingSpec
-
Field Summary
Fields inherited from class org.springframework.integration.http.dsl.HttpInboundEndpointSupportSpec
headerExpressions, headerMapper, requestMapping
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmergeWithDefaultConverters
(boolean mergeWithDefaultConverters) Flag which determines if the default converters should be available after custom converters.messageConverters
(HttpMessageConverter<?>... messageConverters) Set the message body converters to use.multipartResolver
(MultipartResolver multipartResolver) Specify theMultipartResolver
to use when checking requests.Methods inherited from class org.springframework.integration.http.dsl.HttpInboundEndpointSupportSpec
crossOrigin, extractReplyPayload, getComponentsToRegister, headerExpression, headerExpression, headerExpressions, headerFunction, headerMapper, mappedRequestHeaders, mappedResponseHeaders, payloadExpression, payloadExpression, payloadFunction, requestMapping, requestPayloadType, requestPayloadType, statusCodeExpression, statusCodeExpression, statusCodeFunction, validator
Methods inherited from class org.springframework.integration.dsl.MessagingGatewaySpec
autoStartup, errorChannel, errorChannel, errorOnTimeout, id, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrack
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
BaseHttpInboundEndpointSpec
-
-
Method Details
-
messageConverters
Set the message body converters to use. These converters are used to convert from and to HTTP requests and responses.- Parameters:
messageConverters
- The message converters.- Returns:
- the current Spec.
-
mergeWithDefaultConverters
Flag which determines if the default converters should be available after custom converters.- Parameters:
mergeWithDefaultConverters
- true to merge, false to replace.- Returns:
- the current Spec.
-
multipartResolver
Specify theMultipartResolver
to use when checking requests.- Parameters:
multipartResolver
- The multipart resolver.- Returns:
- the current Spec.
-