public class HttpControllerEndpointSpec extends BaseHttpInboundEndpointSpec<HttpControllerEndpointSpec,HttpRequestHandlingController>
BaseHttpInboundEndpointSpec implementation for the HttpRequestHandlingController.HttpRequestHandlingControllerBaseHttpInboundEndpointSpec.CrossOriginSpec, BaseHttpInboundEndpointSpec.RequestMappingSpeclogger, PARSER, target| Modifier and Type | Method and Description |
|---|---|
HttpControllerEndpointSpec |
errorCode(String errorCode)
The error code to use to signal an error in the message handling.
|
HttpControllerEndpointSpec |
errorsKey(String errorsKey)
The key used to expose
Errors in the core,
in the case that message handling fails. |
HttpControllerEndpointSpec |
replyKey(String replyKey)
Specify the key to be used when adding the reply Message or payload to the core map
(will be payload only unless the value
of
HttpRequestHandlingEndpointSupport.setExtractReplyPayload(boolean) is false). |
crossOrigin, extractReplyPayload, getComponentsToRegister, headerExpression, headerExpression, headerExpressions, headerFunction, headerMapper, mappedRequestHeaders, mappedResponseHeaders, mergeWithDefaultConverters, messageConverters, multipartResolver, payloadExpression, payloadExpression, payloadFunction, requestMapping, requestPayloadType, statusCodeExpression, statusCodeExpression, statusCodeFunctionautoStartup, errorChannel, errorChannel, id, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout_this, doGet, get, getId, getObject, getObjectType, isSingletonpublic HttpControllerEndpointSpec replyKey(String replyKey)
HttpRequestHandlingEndpointSupport.setExtractReplyPayload(boolean) is false).
The default key is reply.replyKey - The reply key.HttpRequestHandlingController.setReplyKey(String)public HttpControllerEndpointSpec errorsKey(String errorsKey)
Errors in the core,
in the case that message handling fails.
Defaults to errors.errorsKey - The key value to set.HttpRequestHandlingController.setErrorsKey(String)public HttpControllerEndpointSpec errorCode(String errorCode)
errorCode - The error code to set.HttpRequestHandlingController.setErrorCode(String)