public class HttpListenerConnectionManager extends Object implements org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable, MuleContextAware
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_LISTENER_CONNECTION_MANAGER |
static String |
SERVER_ALREADY_EXISTS_FORMAT |
| Constructor and Description |
|---|
HttpListenerConnectionManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsServerFor(ServerAddress serverAddress) |
HttpServer |
createServer(ServerAddress serverAddress,
Supplier<org.mule.runtime.api.scheduler.Scheduler> schedulerSupplier,
boolean usePersistentConnections,
int connectionIdleTimeout) |
HttpServer |
createSslServer(ServerAddress serverAddress,
Supplier<org.mule.runtime.api.scheduler.Scheduler> schedulerSupplier,
org.mule.runtime.api.tls.TlsContextFactory tlsContext,
boolean usePersistentConnections,
int connectionIdleTimeout) |
void |
dispose() |
void |
initialise() |
void |
setMuleContext(MuleContext muleContext) |
public static final String HTTP_LISTENER_CONNECTION_MANAGER
public static final String SERVER_ALREADY_EXISTS_FORMAT
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 dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic void setMuleContext(MuleContext muleContext)
setMuleContext in interface MuleContextAwarepublic HttpServer createServer(ServerAddress serverAddress, Supplier<org.mule.runtime.api.scheduler.Scheduler> schedulerSupplier, boolean usePersistentConnections, int connectionIdleTimeout)
public boolean containsServerFor(ServerAddress serverAddress)
public HttpServer createSslServer(ServerAddress serverAddress, Supplier<org.mule.runtime.api.scheduler.Scheduler> schedulerSupplier, org.mule.runtime.api.tls.TlsContextFactory tlsContext, boolean usePersistentConnections, int connectionIdleTimeout)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.