public class HttpListenerRegistry.PathMap extends Object
| Constructor and Description |
|---|
PathMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChildPathMap(String path,
HttpListenerRegistry.PathMap pathMap) |
void |
addRequestHandlerMatcherPair(HttpListenerRegistry.RequestHandlerMatcherPair requestHandlerMatcherPair) |
void |
addWildcardRequestHandler(HttpListenerRegistry.RequestHandlerMatcherPair requestHandlerMatcherPair) |
HttpListenerRegistry.PathMap |
getCatchAllCurrentPathMap() |
HttpListenerRegistry.PathMap |
getCatchAllPathMap() |
HttpListenerRegistry.PathMap |
getChildPathMap(String subPath,
String nextSubPath) |
HttpListenerRegistry.PathMap |
getLastChildPathMap(String subPath) |
List<HttpListenerRegistry.RequestHandlerMatcherPair> |
getRequestHandlerMatcherPairs() |
Map<String,HttpListenerRegistry.PathMap> |
getSubPaths() |
boolean |
removeRequestHandlerMatcherPair(HttpListenerRegistry.RequestHandlerMatcherPair requestHandlerMatcherPair) |
public HttpListenerRegistry.PathMap getCatchAllPathMap()
public HttpListenerRegistry.PathMap getCatchAllCurrentPathMap()
public HttpListenerRegistry.PathMap getChildPathMap(String subPath, String nextSubPath)
subPath - the sub part of the path to findnextSubPath - the next sub part of the path. It is useful for deciding between static paths and middle-wildcard paths
when they are similar.public HttpListenerRegistry.PathMap getLastChildPathMap(String subPath)
subPath - a sub part of the pathpublic void addRequestHandlerMatcherPair(HttpListenerRegistry.RequestHandlerMatcherPair requestHandlerMatcherPair)
public void addChildPathMap(String path, HttpListenerRegistry.PathMap pathMap)
public Map<String,HttpListenerRegistry.PathMap> getSubPaths()
public List<HttpListenerRegistry.RequestHandlerMatcherPair> getRequestHandlerMatcherPairs()
public void addWildcardRequestHandler(HttpListenerRegistry.RequestHandlerMatcherPair requestHandlerMatcherPair)
public boolean removeRequestHandlerMatcherPair(HttpListenerRegistry.RequestHandlerMatcherPair requestHandlerMatcherPair)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.