public class HttpControllerEndpointSpec extends BaseHttpInboundEndpointSpec<HttpControllerEndpointSpec,HttpRequestHandlingController>
BaseHttpInboundEndpointSpec
implementation for the HttpRequestHandlingController
.HttpRequestHandlingController
HttpInboundEndpointSupportSpec.CrossOriginSpec, HttpInboundEndpointSupportSpec.RequestMappingSpec
headerExpressions, headerMapper, requestMapping
PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
HttpControllerEndpointSpec(HttpRequestHandlingController controller,
String... path) |
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
BaseHttpInboundEndpoint.setExtractReplyPayload(boolean) is false ). |
mergeWithDefaultConverters, messageConverters, multipartResolver
crossOrigin, extractReplyPayload, getComponentsToRegister, headerExpression, headerExpression, headerExpressions, headerFunction, headerMapper, mappedRequestHeaders, mappedResponseHeaders, payloadExpression, payloadExpression, payloadFunction, requestMapping, requestPayloadType, requestPayloadType, statusCodeExpression, statusCodeExpression, statusCodeFunction, validator
autoStartup, errorChannel, errorChannel, errorOnTimeout, id, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrack
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
protected HttpControllerEndpointSpec(HttpRequestHandlingController controller, String... path)
public HttpControllerEndpointSpec replyKey(String replyKey)
BaseHttpInboundEndpoint.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)