public abstract class AbstractRouter extends org.mule.processor.AbstractInterceptingMessageProcessor implements ApiRouter, org.mule.api.NonBlockingSupported
| Modifier and Type | Field and Description |
|---|---|
protected AbstractConfiguration |
config |
protected org.mule.api.construct.FlowConstruct |
flowConstruct |
protected org.slf4j.Logger |
logger |
protected RamlDescriptorHandler |
ramlHandler |
| Constructor and Description |
|---|
AbstractRouter() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.mule.api.MuleEvent |
doProcessRouterResponse(org.mule.api.MuleEvent event,
Integer successStatus) |
protected abstract org.mule.construct.Flow |
getFlow(org.mule.raml.interfaces.model.IResource resource,
HttpRestRequest request,
String version) |
protected abstract org.mule.api.MuleEvent |
handleEvent(org.mule.api.MuleEvent event,
String path) |
org.mule.api.MuleEvent |
process(org.mule.api.MuleEvent event) |
protected org.mule.api.MuleEvent |
processBlocking(org.mule.api.MuleEvent event) |
org.mule.api.MuleEvent |
processBlockingRequest(org.mule.api.MuleEvent event) |
protected org.mule.api.MuleEvent |
processNext(org.mule.api.MuleEvent event) |
protected org.mule.api.MuleEvent |
processNonBlocking(org.mule.api.MuleEvent request) |
protected org.mule.module.apikit.AbstractRouter.RouterRequest |
processRouterRequest(org.mule.api.MuleEvent event) |
void |
setFlowConstruct(org.mule.api.construct.FlowConstruct flowConstruct) |
void |
start() |
protected abstract void |
startConfiguration() |
addMessageProcessorPathElements, getListener, getMuleContext, isEventValid, setListener, setMuleContext, toStringgetAnnotation, getAnnotations, setAnnotationsprotected final org.slf4j.Logger logger
protected org.mule.api.construct.FlowConstruct flowConstruct
protected AbstractConfiguration config
protected RamlDescriptorHandler ramlHandler
public void start()
throws org.mule.api.MuleException
start in interface org.mule.api.lifecycle.Startableorg.mule.api.MuleExceptionprotected abstract void startConfiguration()
throws org.mule.api.lifecycle.StartException
org.mule.api.lifecycle.StartExceptionpublic void setFlowConstruct(org.mule.api.construct.FlowConstruct flowConstruct)
setFlowConstruct in interface org.mule.api.construct.FlowConstructAwarepublic final org.mule.api.MuleEvent process(org.mule.api.MuleEvent event)
throws org.mule.api.MuleException
process in interface org.mule.api.processor.MessageProcessororg.mule.api.MuleExceptionprotected org.mule.api.MuleEvent processBlocking(org.mule.api.MuleEvent event)
throws org.mule.api.MuleException
org.mule.api.MuleExceptionpublic org.mule.api.MuleEvent processBlockingRequest(org.mule.api.MuleEvent event)
throws org.mule.api.MuleException
org.mule.api.MuleExceptionprotected org.mule.api.MuleEvent processNonBlocking(org.mule.api.MuleEvent request)
throws org.mule.api.MuleException
org.mule.api.MuleExceptionprotected org.mule.module.apikit.AbstractRouter.RouterRequest processRouterRequest(org.mule.api.MuleEvent event)
throws org.mule.api.MuleException
org.mule.api.MuleExceptionprotected abstract org.mule.api.MuleEvent doProcessRouterResponse(org.mule.api.MuleEvent event,
Integer successStatus)
protected org.mule.api.MuleEvent processNext(org.mule.api.MuleEvent event)
throws org.mule.api.MuleException
processNext in class org.mule.processor.AbstractInterceptingMessageProcessorBaseorg.mule.api.MuleExceptionprotected abstract org.mule.api.MuleEvent handleEvent(org.mule.api.MuleEvent event,
String path)
throws org.mule.api.MuleException
org.mule.api.MuleExceptionprotected abstract org.mule.construct.Flow getFlow(org.mule.raml.interfaces.model.IResource resource,
HttpRestRequest request,
String version)
throws UnsupportedMediaTypeException
UnsupportedMediaTypeExceptionCopyright © 2021. All rights reserved.