public class HttpServiceImplementation extends Object implements org.mule.runtime.http.api.HttpService, org.mule.runtime.api.lifecycle.Startable, org.mule.runtime.api.lifecycle.Stoppable
HttpService that uses Grizzly to create HttpServers and its Async HTTP Client provider to
create HttpClients.| Modifier and Type | Field and Description |
|---|---|
protected org.mule.runtime.core.api.scheduler.SchedulerService |
schedulerService |
| Constructor and Description |
|---|
HttpServiceImplementation(org.mule.runtime.core.api.scheduler.SchedulerService schedulerService) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.http.api.client.HttpClientFactory |
getClientFactory() |
org.mule.runtime.http.api.client.HttpClientFactory |
getClientFactory(org.mule.runtime.core.api.scheduler.SchedulerConfig schedulersConfig) |
String |
getName() |
org.mule.runtime.http.api.server.HttpServerFactory |
getServerFactory() |
org.mule.runtime.http.api.server.HttpServerFactory |
getServerFactory(org.mule.runtime.core.api.MuleContext muleContext) |
void |
start() |
void |
stop() |
protected final org.mule.runtime.core.api.scheduler.SchedulerService schedulerService
public HttpServiceImplementation(org.mule.runtime.core.api.scheduler.SchedulerService schedulerService)
public org.mule.runtime.http.api.server.HttpServerFactory getServerFactory()
getServerFactory in interface org.mule.runtime.http.api.HttpService@Inject
public org.mule.runtime.http.api.server.HttpServerFactory getServerFactory(@Named(value="_muleContext")
org.mule.runtime.core.api.MuleContext muleContext)
public org.mule.runtime.http.api.client.HttpClientFactory getClientFactory()
getClientFactory in interface org.mule.runtime.http.api.HttpService@Inject
public org.mule.runtime.http.api.client.HttpClientFactory getClientFactory(@Named(value="_muleSchedulerBaseConfig")
org.mule.runtime.core.api.scheduler.SchedulerConfig schedulersConfig)
public String getName()
getName in interface org.mule.runtime.api.meta.NamedObjectpublic void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.