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