use of com.tvd12.ezyhttp.server.core.request.RequestURI in project ezyhttp by youngmonkeys.
the class RequestHandlerManager method getMatchedURI.
public String getMatchedURI(HttpMethod method, String requestURI) {
String matchedURI = null;
if (handledURIs.contains(requestURI)) {
matchedURI = requestURI;
}
if (matchedURI == null && requestURI != null) {
URITree uriTree = uriTreeByMethod.get(method);
matchedURI = uriTree.getMatchedURI(requestURI);
}
return matchedURI;
}
Aggregations