public class HttpServerDelegate extends Object implements org.mule.runtime.http.api.server.HttpServer
HttpServer| Modifier and Type | Field and Description |
|---|---|
protected org.mule.runtime.http.api.server.HttpServer |
delegate |
| Constructor and Description |
|---|
HttpServerDelegate(org.mule.runtime.http.api.server.HttpServer delegate) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.http.api.server.RequestHandlerManager |
addRequestHandler(Collection<String> methods,
String path,
org.mule.runtime.http.api.server.RequestHandler requestHandler) |
org.mule.runtime.http.api.server.RequestHandlerManager |
addRequestHandler(String path,
org.mule.runtime.http.api.server.RequestHandler requestHandler) |
org.mule.runtime.http.api.server.ws.WebSocketHandlerManager |
addWebSocketHandler(org.mule.runtime.http.api.server.ws.WebSocketHandler handler) |
void |
disableTls() |
void |
dispose() |
void |
enableTls(org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory) |
org.mule.runtime.http.api.server.HttpServer |
getDelegate() |
org.mule.runtime.http.api.HttpConstants.Protocol |
getProtocol() |
org.mule.runtime.http.api.server.ServerAddress |
getServerAddress() |
boolean |
isStopped() |
boolean |
isStopping() |
org.mule.runtime.http.api.server.HttpServer |
start() |
org.mule.runtime.http.api.server.HttpServer |
stop() |
public HttpServerDelegate(org.mule.runtime.http.api.server.HttpServer delegate)
public org.mule.runtime.http.api.server.HttpServer getDelegate()
public org.mule.runtime.http.api.server.HttpServer start()
throws IOException
start in interface org.mule.runtime.http.api.server.HttpServerIOExceptionpublic org.mule.runtime.http.api.server.HttpServer stop()
stop in interface org.mule.runtime.http.api.server.HttpServerpublic void dispose()
dispose in interface org.mule.runtime.http.api.server.HttpServerpublic org.mule.runtime.http.api.server.ServerAddress getServerAddress()
getServerAddress in interface org.mule.runtime.http.api.server.HttpServerpublic org.mule.runtime.http.api.HttpConstants.Protocol getProtocol()
getProtocol in interface org.mule.runtime.http.api.server.HttpServerpublic boolean isStopping()
isStopping in interface org.mule.runtime.http.api.server.HttpServerpublic boolean isStopped()
isStopped in interface org.mule.runtime.http.api.server.HttpServerpublic org.mule.runtime.http.api.server.RequestHandlerManager addRequestHandler(Collection<String> methods, String path, org.mule.runtime.http.api.server.RequestHandler requestHandler)
addRequestHandler in interface org.mule.runtime.http.api.server.HttpServerpublic org.mule.runtime.http.api.server.RequestHandlerManager addRequestHandler(String path, org.mule.runtime.http.api.server.RequestHandler requestHandler)
addRequestHandler in interface org.mule.runtime.http.api.server.HttpServerpublic org.mule.runtime.http.api.server.ws.WebSocketHandlerManager addWebSocketHandler(org.mule.runtime.http.api.server.ws.WebSocketHandler handler)
addWebSocketHandler in interface org.mule.runtime.http.api.server.HttpServerpublic void enableTls(org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory)
enableTls in interface org.mule.runtime.http.api.server.HttpServerpublic void disableTls()
disableTls in interface org.mule.runtime.http.api.server.HttpServerCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.