Class BaseHttpInboundEndpointSpec<S extends BaseHttpInboundEndpointSpec<S,E>, E extends HttpRequestHandlingEndpointSupport>
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,E>
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 targetBaseHttpInboundEndpointSpecimplementation type.E- the targetHttpRequestHandlingEndpointSupportimplementation type.
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<E>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, org.springframework.integration.dsl.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
-
Nested Class Summary
Nested classes/interfaces inherited from class HttpInboundEndpointSupportSpec
HttpInboundEndpointSupportSpec.CrossOriginSpec, HttpInboundEndpointSupportSpec.RequestMappingSpec -
Field Summary
Fields inherited from class HttpInboundEndpointSupportSpec
headerExpressions, headerMapper, requestMappingFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmergeWithDefaultConverters(boolean mergeWithDefaultConverters) Flag which determines if the default converters should be available after custom converters.messageConverters(org.springframework.http.converter.HttpMessageConverter<?>... messageConverters) Set the message body converters to use.multipartResolver(org.springframework.web.multipart.MultipartResolver multipartResolver) Specify theMultipartResolverto use when checking requests.Methods inherited from class HttpInboundEndpointSupportSpec
crossOrigin, extractReplyPayload, getComponentsToRegister, headerExpression, headerExpression, headerExpressions, headerFunction, headerMapper, mappedRequestHeaders, mappedResponseHeaders, payloadExpression, payloadExpression, payloadFunction, requestMapping, requestPayloadType, requestPayloadType, statusCodeExpression, statusCodeExpression, statusCodeFunction, validatorMethods inherited from class org.springframework.integration.dsl.MessagingGatewaySpec
autoStartup, errorChannel, errorChannel, errorOnTimeout, id, observationConvention, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrackMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingletonMethods inherited from interface org.springframework.context.SmartLifecycle
isPauseable
-
Constructor Details
-
BaseHttpInboundEndpointSpec
-
-
Method Details
-
messageConverters
public S messageConverters(org.springframework.http.converter.HttpMessageConverter<?>... 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 theMultipartResolverto use when checking requests.- Parameters:
multipartResolver- The multipart resolver.- Returns:
- the current Spec.
-