public class HttpControllerEndpointSpec extends BaseHttpInboundEndpointSpec<HttpControllerEndpointSpec,HttpRequestHandlingController>
BaseHttpInboundEndpointSpec implementation for the HttpRequestHandlingController.HttpRequestHandlingControllerHttpInboundEndpointSupportSpec.CrossOriginSpec, HttpInboundEndpointSupportSpec.RequestMappingSpecheaderExpressions, headerMapper, requestMapping| Modifier and Type | Method and Description |
|---|---|
HttpControllerEndpointSpec |
errorCode(java.lang.String errorCode)
The error code to use to signal an error in the message handling.
|
HttpControllerEndpointSpec |
errorsKey(java.lang.String errorsKey)
The key used to expose
Errors in the core,
in the case that message handling fails. |
HttpControllerEndpointSpec |
replyKey(java.lang.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
BaseHttpInboundEndpoint.setExtractReplyPayload(boolean) is false). |
mergeWithDefaultConverters, messageConverters, multipartResolvercrossOrigin, extractReplyPayload, getComponentsToRegister, headerExpression, headerExpression, headerExpressions, headerFunction, headerMapper, mappedRequestHeaders, mappedResponseHeaders, payloadExpression, payloadExpression, payloadFunction, requestMapping, requestPayloadType, requestPayloadType, statusCodeExpression, statusCodeExpression, statusCodeFunctionautoStartup, errorChannel, errorChannel, id, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrackpublic HttpControllerEndpointSpec replyKey(java.lang.String replyKey)
BaseHttpInboundEndpoint.setExtractReplyPayload(boolean) is false).
The default key is reply.replyKey - The reply key.HttpRequestHandlingController.setReplyKey(String)public HttpControllerEndpointSpec errorsKey(java.lang.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(java.lang.String errorCode)
errorCode - The error code to set.HttpRequestHandlingController.setErrorCode(String)