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 |
---|---|
RequestHandlerManager |
addRequestHandler(Server server,
RequestHandler requestHandler,
ListenerRequestMatcher requestMatcher) |
RequestHandler |
getRequestHandler(String ip,
int port,
HttpRequest request)
Retrieves a RequestHandler to handle the http request
|
public RequestHandlerManager addRequestHandler(Server server, RequestHandler requestHandler, ListenerRequestMatcher requestMatcher)
public RequestHandler getRequestHandler(String ip, int port, HttpRequest request)
RequestHandlerProvider
getRequestHandler
in interface RequestHandlerProvider
ip
- ip address in which the http request was madeport
- port in which the http request was maderequest
- the http request contentCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.