public class HttpListenerRegistry extends Object implements RequestHandlerProvider
| Modifier and Type | Class and Description |
|---|---|
class |
HttpListenerRegistry.PathMap |
class |
HttpListenerRegistry.RequestHandlerMatcherPair |
class |
HttpListenerRegistry.ServerAddressRequestHandlerRegistry |
| Constructor and Description |
|---|
HttpListenerRegistry() |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.http.api.server.RequestHandlerManager |
addRequestHandler(org.mule.runtime.http.api.server.HttpServer server,
org.mule.runtime.http.api.server.RequestHandler requestHandler,
org.mule.runtime.http.api.server.PathAndMethodRequestMatcher requestMatcher) |
org.mule.runtime.http.api.server.RequestHandler |
getRequestHandler(String ip,
int port,
org.mule.runtime.http.api.domain.message.request.HttpRequest request)
Retrieves a RequestHandler to handle the http request
|
void |
removeHandlersFor(org.mule.runtime.http.api.server.HttpServer server) |
public org.mule.runtime.http.api.server.RequestHandlerManager addRequestHandler(org.mule.runtime.http.api.server.HttpServer server,
org.mule.runtime.http.api.server.RequestHandler requestHandler,
org.mule.runtime.http.api.server.PathAndMethodRequestMatcher requestMatcher)
public void removeHandlersFor(org.mule.runtime.http.api.server.HttpServer server)
public org.mule.runtime.http.api.server.RequestHandler getRequestHandler(String ip, int port, org.mule.runtime.http.api.domain.message.request.HttpRequest request)
RequestHandlerProvidergetRequestHandler in interface RequestHandlerProviderip - ip address in which the http request was madeport - port in which the http request was maderequest - the http request contentCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.