Class HttpControllerEndpointSpec
java.lang.Object
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<HttpControllerEndpointSpec,HttpRequestHandlingController>
 
org.springframework.integration.http.dsl.HttpControllerEndpointSpec
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<HttpRequestHandlingController>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle,- ComponentsRegistration
public class HttpControllerEndpointSpec
extends BaseHttpInboundEndpointSpec<HttpControllerEndpointSpec,HttpRequestHandlingController> 
The 
BaseHttpInboundEndpointSpec implementation for the HttpRequestHandlingController.- Since:
- 5.0
- Author:
- Artem Bilan
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.springframework.integration.http.dsl.HttpInboundEndpointSupportSpecHttpInboundEndpointSupportSpec.CrossOriginSpec, HttpInboundEndpointSupportSpec.RequestMappingSpec
- 
Field SummaryFields inherited from class org.springframework.integration.http.dsl.HttpInboundEndpointSupportSpecheaderExpressions, headerMapper, requestMappingFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedHttpControllerEndpointSpec(HttpRequestHandlingController controller, String... path) 
- 
Method SummaryModifier and TypeMethodDescriptionThe error code to use to signal an error in the message handling.The key used to exposeErrorsin the core, in the case that message handling fails.Specify the key to be used when adding the reply Message or payload to the core map (will be payload only unless the value ofBaseHttpInboundEndpoint.setExtractReplyPayload(boolean)isfalse).Methods inherited from class org.springframework.integration.http.dsl.BaseHttpInboundEndpointSpecmergeWithDefaultConverters, messageConverters, multipartResolverMethods inherited from class org.springframework.integration.http.dsl.HttpInboundEndpointSupportSpeccrossOrigin, 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.MessagingGatewaySpecautoStartup, 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, get, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
HttpControllerEndpointSpec
 
- 
- 
Method Details- 
replyKeySpecify the key to be used when adding the reply Message or payload to the core map (will be payload only unless the value ofBaseHttpInboundEndpoint.setExtractReplyPayload(boolean)isfalse). The default key isreply.- Parameters:
- replyKey- The reply key.
- Returns:
- the spec
- See Also:
 
- 
errorsKeyThe key used to exposeErrorsin the core, in the case that message handling fails. Defaults toerrors.- Parameters:
- errorsKey- The key value to set.
- Returns:
- the spec
- See Also:
 
- 
errorCodeThe error code to use to signal an error in the message handling.- Parameters:
- errorCode- The error code to set.
- Returns:
- the spec
- See Also:
 
 
-