@SuppressWarnings("deprecation") @Override public UriInfo parseUriWithStrictFilter(Edm edm, List<PathSegment> pathSegments, Map<String, String> queryParameters, boolean strictFilter) throws UriSyntaxException, UriNotMatchingException, EdmException { return new UriParserImpl(edm).parse(pathSegments, queryParameters, strictFilter);//NOSONAR }
@SuppressWarnings("deprecation") @Override public UriInfo parseUriWithStrictFilter(Edm edm, String uri, boolean strictFilter) throws UriSyntaxException, UriNotMatchingException, EdmException { final String[] path = uri.split(QUESTIONMARK, -1); if (path.length > 2) { throw new UriSyntaxException(UriSyntaxException.URISYNTAX); } final List<PathSegment> pathSegments = getPathSegments(path[0]); Map<String, String> queryParameters; if (path.length == 2) { queryParameters = getQueryParametersWithStrictFilter(unescape(path[1])); } else { queryParameters = new HashMap<String, String>(); } return new UriParserImpl(edm).parse(pathSegments, queryParameters, strictFilter);//NOSONAR }