public class Router extends org.mule.runtime.api.component.AbstractComponent implements org.mule.runtime.core.api.processor.Processor, org.mule.runtime.api.lifecycle.Initialisable, AbstractRouter, org.mule.module.apikit.spi.AbstractRouter
| Constructor and Description |
|---|
Router(ApikitRegistry registry,
org.mule.runtime.api.component.location.ConfigurationComponentLocator locator) |
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<org.mule.runtime.core.api.event.CoreEvent> |
apply(org.reactivestreams.Publisher<org.mule.runtime.core.api.event.CoreEvent> publisher) |
Configuration |
getConfiguration() |
String |
getName() |
org.mule.raml.interfaces.model.IRaml |
getRaml() |
RamlHandler |
getRamlHandler() |
void |
initialise() |
org.mule.runtime.core.api.event.CoreEvent |
process(org.mule.runtime.core.api.event.CoreEvent event) |
org.reactivestreams.Publisher<org.mule.runtime.core.api.event.CoreEvent> |
processEvent(org.mule.runtime.core.api.event.CoreEvent event) |
void |
setConfiguration(Configuration config) |
void |
setName(String name) |
org.mule.runtime.core.api.event.CoreEvent.Builder |
validateRequest(org.mule.runtime.core.api.event.CoreEvent event,
org.mule.runtime.core.api.event.CoreEvent.Builder eventBuilder,
ValidationConfig config,
org.mule.raml.interfaces.model.IResource resource,
org.mule.extension.http.api.HttpRequestAttributes attributes,
ResolvedVariables resolvedVariables) |
getAnnotation, getAnnotations, getLocation, getRootContainerLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@Inject public Router(ApikitRegistry registry, org.mule.runtime.api.component.location.ConfigurationComponentLocator locator)
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic org.mule.runtime.core.api.event.CoreEvent process(org.mule.runtime.core.api.event.CoreEvent event)
throws org.mule.runtime.api.exception.MuleException
process in interface org.mule.runtime.core.api.processor.Processororg.mule.runtime.api.exception.MuleExceptionpublic org.reactivestreams.Publisher<org.mule.runtime.core.api.event.CoreEvent> apply(org.reactivestreams.Publisher<org.mule.runtime.core.api.event.CoreEvent> publisher)
public RamlHandler getRamlHandler()
public org.mule.raml.interfaces.model.IRaml getRaml()
getRaml in interface org.mule.module.apikit.spi.AbstractRouterpublic org.reactivestreams.Publisher<org.mule.runtime.core.api.event.CoreEvent> processEvent(org.mule.runtime.core.api.event.CoreEvent event)
throws MuleRestException
processEvent in interface org.mule.module.apikit.spi.AbstractRouterMuleRestExceptionpublic Configuration getConfiguration()
public void setConfiguration(Configuration config)
public String getName()
public void setName(String name)
public org.mule.runtime.core.api.event.CoreEvent.Builder validateRequest(org.mule.runtime.core.api.event.CoreEvent event,
org.mule.runtime.core.api.event.CoreEvent.Builder eventBuilder,
ValidationConfig config,
org.mule.raml.interfaces.model.IResource resource,
org.mule.extension.http.api.HttpRequestAttributes attributes,
ResolvedVariables resolvedVariables)
throws MuleRestException
MuleRestExceptionCopyright © 2019. All rights reserved.