Home
last modified time | relevance | path

Searched refs:URI_PATTERN (Results 1 – 3 of 3) sorted by relevance

/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/
DTestNanolets.java89 … Pattern URI_PATTERN = Pattern.compile("([A-Za-z0-9\\-\\._~:/?#\\[\\]@!\\$&'\\(\\)\\*\\+,;=]+)"); in main() local
90 System.out.println(URI_PATTERN.matcher(uri).matches()); in main()
94 …Pattern URI_PATTERN = Pattern.compile("photos/([A-Za-z0-9\\-\\._~:/?#\\[\\]@!\\$&'\\(\\)\\*\\+,;=]… in main() local
95 Matcher matcher = URI_PATTERN.matcher(uri); in main()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DManagedChannelImpl.java97 static final Pattern URI_PATTERN = Pattern.compile("[a-zA-Z][a-zA-Z0-9+.-]*:/.*"); field in ManagedChannelImpl
629 if (!URI_PATTERN.matcher(target).matches()) { in getNameResolver()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplTest.java1377 assertTrue(ManagedChannelImpl.URI_PATTERN.matcher("a:/").matches()); in uriPattern()
1378 assertTrue(ManagedChannelImpl.URI_PATTERN.matcher("Z019+-.:/!@ #~ ").matches()); in uriPattern()
1379 assertFalse(ManagedChannelImpl.URI_PATTERN.matcher("a/:").matches()); // "/:" not matched in uriPattern()
1380 assertFalse(ManagedChannelImpl.URI_PATTERN.matcher("0a:/").matches()); // '0' not matched in uriPattern()
1381 assertFalse(ManagedChannelImpl.URI_PATTERN.matcher("a,:/").matches()); // ',' not matched in uriPattern()
1382 assertFalse(ManagedChannelImpl.URI_PATTERN.matcher(" a:/").matches()); // space not matched in uriPattern()