public static class DefaultRequestMatcherRegistry.Path<H> extends Object
| Constructor and Description |
|---|
Path(String name,
DefaultRequestMatcherRegistry.Path parent)
Creates a new instance for the given name and with the provided parent.
|
public Path(String name, DefaultRequestMatcherRegistry.Path parent)
name - for this pathparent - of this pathpublic DefaultRequestMatcherRegistry.Path getCatchAll()
public DefaultRequestMatcherRegistry.Path getCatchAllUriParam()
public DefaultRequestMatcherRegistry.Path getChildPath(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 DefaultRequestMatcherRegistry.Path getLastChildPath(String subPath)
subPath - a sub part of the pathpublic void addRequestHandlerMatcherPair(DefaultRequestMatcherRegistry.RequestHandlerMatcherPair requestHandlerMatcherPair)
requestHandlerMatcherPair - the pair to addpublic void addChildPath(String pathName, DefaultRequestMatcherRegistry.Path path)
pathName - the path namepath - the representation of this pathpublic void removeChildPath(String pathName)
pathName - the path namepublic boolean isEmpty()
public Map<String,DefaultRequestMatcherRegistry.Path> getSubPaths()
public List<DefaultRequestMatcherRegistry.RequestHandlerMatcherPair<H>> getRequestHandlerMatcherPairs()
public void addWildcardRequestHandler(DefaultRequestMatcherRegistry.RequestHandlerMatcherPair requestHandlerMatcherPair)
requestHandlerMatcherPair - the pair to addpublic boolean removeRequestHandlerMatcherPair(DefaultRequestMatcherRegistry.RequestHandlerMatcherPair requestHandlerMatcherPair)
requestHandlerMatcherPair - Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.