@Alias(value="listener") public class HttpListenerProvider extends Object implements org.mule.runtime.api.connection.CachedConnectionProvider<Server>, org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Startable, org.mule.runtime.api.lifecycle.Stoppable
HttpListener, handles the creation of Server instances.| Modifier and Type | Class and Description |
|---|---|
static class |
HttpListenerProvider.ConnectionParams |
| Constructor and Description |
|---|
HttpListenerProvider() |
| Modifier and Type | Method and Description |
|---|---|
Server |
connect() |
void |
disconnect(Server server) |
HttpListenerProvider.ConnectionParams |
getConnectionParams() |
void |
initialise() |
void |
start() |
void |
stop() |
org.mule.runtime.api.connection.ConnectionValidationResult |
validate(Server server) |
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic 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.MuleExceptionpublic Server connect() throws org.mule.runtime.api.connection.ConnectionException
connect in interface org.mule.runtime.api.connection.ConnectionProvider<Server>org.mule.runtime.api.connection.ConnectionExceptionpublic void disconnect(Server server)
disconnect in interface org.mule.runtime.api.connection.ConnectionProvider<Server>public org.mule.runtime.api.connection.ConnectionValidationResult validate(Server server)
validate in interface org.mule.runtime.api.connection.ConnectionProvider<Server>public HttpListenerProvider.ConnectionParams getConnectionParams()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.