public class HttpListenerConnectionManager extends Object implements HttpServerFactory, org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable
HttpServerFactory.| Modifier and Type | Field and Description |
|---|---|
static String |
SERVER_ALREADY_EXISTS_FORMAT |
| Constructor and Description |
|---|
HttpListenerConnectionManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsServerFor(ServerAddress serverAddress) |
HttpServer |
create(HttpServerConfiguration configuration) |
HttpServer |
createServer(ServerAddress serverAddress,
Supplier<org.mule.runtime.api.scheduler.Scheduler> schedulerSupplier,
boolean usePersistentConnections,
int connectionIdleTimeout) |
HttpServer |
createSslServer(ServerAddress serverAddress,
org.mule.runtime.api.tls.TlsContextFactory tlsContext,
Supplier<org.mule.runtime.api.scheduler.Scheduler> schedulerSupplier,
boolean usePersistentConnections,
int connectionIdleTimeout) |
void |
dispose() |
void |
initialise() |
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 HttpServer create(HttpServerConfiguration configuration) throws org.mule.runtime.api.connection.ConnectionException
create in interface HttpServerFactoryorg.mule.runtime.api.connection.ConnectionExceptionpublic 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, org.mule.runtime.api.tls.TlsContextFactory tlsContext, Supplier<org.mule.runtime.api.scheduler.Scheduler> schedulerSupplier, boolean usePersistentConnections, int connectionIdleTimeout)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.