Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HostSpecifier (0.22 sec)

  1. android/guava/src/com/google/common/net/HostSpecifier.java

     *
     * @author Craig Berry
     * @since 5.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class HostSpecifier {
    
      private final String canonicalForm;
    
      private HostSpecifier(String canonicalForm) {
        this.canonicalForm = canonicalForm;
      }
    
      /**
       * Returns a {@code HostSpecifier} built from the provided {@code specifier}, which is already
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

        // Throws exception if not working correctly
        HostSpecifier unused = HostSpecifier.fromValid(spec);
        unused = HostSpecifier.from(spec);
        assertTrue(HostSpecifier.isValid(spec));
      }
    
      private void assertBad(String spec) {
        try {
          HostSpecifier.fromValid(spec);
          fail("Should have thrown IllegalArgumentException: " + spec);
        } catch (IllegalArgumentException expected) {
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top