public class org.eclipse.jetty.util.HostPort
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.eclipse.jetty.util.HostPort
  super_class: java.lang.Object
{
  private final java.lang.String _host;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int _port;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(java.lang.String, int);
    descriptor: (Ljava/lang/String;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.eclipse.jetty.util.HostPort this
        start local 1 // java.lang.String host
        start local 2 // int port
         0: .line 31
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 33
            aload 0 /* this */
            aload 1 /* host */
            invokestatic org.eclipse.jetty.util.HostPort.normalizeHost:(Ljava/lang/String;)Ljava/lang/String;
            putfield org.eclipse.jetty.util.HostPort._host:Ljava/lang/String;
         2: .line 34
            aload 0 /* this */
            iload 2 /* port */
            putfield org.eclipse.jetty.util.HostPort._port:I
         3: .line 35
            return
        end local 2 // int port
        end local 1 // java.lang.String host
        end local 0 // org.eclipse.jetty.util.HostPort this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/eclipse/jetty/util/HostPort;
            0    4     1  host  Ljava/lang/String;
            0    4     2  port  I
    MethodParameters:
      Name  Flags
      host  
      port  

  public void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.eclipse.jetty.util.HostPort this
        start local 1 // java.lang.String authority
         0: .line 37
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 39
            aload 1 /* authority */
            ifnonnull 3
         2: .line 40
            new java.lang.IllegalArgumentException
            dup
            ldc "No Authority"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 43
      StackMap locals: org.eclipse.jetty.util.HostPort java.lang.String
      StackMap stack:
            aload 1 /* authority */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 7
         4: .line 45
            aload 0 /* this */
            aload 1 /* authority */
            putfield org.eclipse.jetty.util.HostPort._host:Ljava/lang/String;
         5: .line 46
            aload 0 /* this */
            iconst_0
            putfield org.eclipse.jetty.util.HostPort._port:I
         6: .line 47
            goto 35
         7: .line 48
      StackMap locals:
      StackMap stack:
            aload 1 /* authority */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            bipush 91
            if_icmpne 19
         8: .line 51
            aload 1 /* authority */
            bipush 93
            invokevirtual java.lang.String.lastIndexOf:(I)I
            istore 2 /* close */
        start local 2 // int close
         9: .line 52
            iload 2 /* close */
            ifge 11
        10: .line 53
            new java.lang.IllegalArgumentException
            dup
            ldc "Bad IPv6 host"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 54
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* authority */
            iconst_0
            iload 2 /* close */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            putfield org.eclipse.jetty.util.HostPort._host:Ljava/lang/String;
        12: .line 56
            aload 1 /* authority */
            invokevirtual java.lang.String.length:()I
            iload 2 /* close */
            iconst_1
            iadd
            if_icmple 17
        13: .line 58
            aload 1 /* authority */
            iload 2 /* close */
            iconst_1
            iadd
            invokevirtual java.lang.String.charAt:(I)C
            bipush 58
            if_icmpeq 15
        14: .line 59
            new java.lang.IllegalArgumentException
            dup
            ldc "Bad IPv6 port"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        15: .line 60
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* authority */
            iload 2 /* close */
            iconst_2
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokestatic org.eclipse.jetty.util.HostPort.parsePort:(Ljava/lang/String;)I
            putfield org.eclipse.jetty.util.HostPort._port:I
        16: .line 61
            goto 35
        17: .line 64
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield org.eclipse.jetty.util.HostPort._port:I
        end local 2 // int close
        18: .line 66
            goto 35
        19: .line 70
      StackMap locals:
      StackMap stack:
            aload 1 /* authority */
            bipush 58
            invokevirtual java.lang.String.lastIndexOf:(I)I
            istore 2 /* c */
        start local 2 // int c
        20: .line 71
            iload 2 /* c */
            iflt 28
        21: .line 74
            iload 2 /* c */
            aload 1 /* authority */
            bipush 58
            invokevirtual java.lang.String.indexOf:(I)I
            if_icmpeq 25
        22: .line 76
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            ldc "["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* authority */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            putfield org.eclipse.jetty.util.HostPort._host:Ljava/lang/String;
        23: .line 77
            aload 0 /* this */
            iconst_0
            putfield org.eclipse.jetty.util.HostPort._port:I
        24: .line 78
            goto 35
        25: .line 81
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* authority */
            iconst_0
            iload 2 /* c */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            putfield org.eclipse.jetty.util.HostPort._host:Ljava/lang/String;
        26: .line 82
            aload 0 /* this */
            aload 1 /* authority */
            iload 2 /* c */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokestatic org.eclipse.jetty.util.HostPort.parsePort:(Ljava/lang/String;)I
            putfield org.eclipse.jetty.util.HostPort._port:I
        27: .line 84
            goto 35
        28: .line 87
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* authority */
            putfield org.eclipse.jetty.util.HostPort._host:Ljava/lang/String;
        29: .line 88
            aload 0 /* this */
            iconst_0
            putfield org.eclipse.jetty.util.HostPort._port:I
        end local 2 // int c
        30: .line 91
            goto 35
        31: .line 92
      StackMap locals: org.eclipse.jetty.util.HostPort java.lang.String
      StackMap stack: java.lang.IllegalArgumentException
            astore 2 /* iae */
        start local 2 // java.lang.IllegalArgumentException iae
        32: .line 94
            aload 2 /* iae */
            athrow
        end local 2 // java.lang.IllegalArgumentException iae
        33: .line 96
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 2 /* ex */
        start local 2 // java.lang.Exception ex
        34: .line 98
            new java.lang.IllegalArgumentException
            dup
            ldc "Bad HostPort"
            aload 2 /* ex */
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.lang.Exception ex
        35: .line 100
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.String authority
        end local 0 // org.eclipse.jetty.util.HostPort this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   36     0       this  Lorg/eclipse/jetty/util/HostPort;
            0   36     1  authority  Ljava/lang/String;
            9   18     2      close  I
           20   30     2          c  I
           32   33     2        iae  Ljava/lang/IllegalArgumentException;
           34   35     2         ex  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           3    30      31  Class java.lang.IllegalArgumentException
           3    30      33  Class java.lang.Exception
    Exceptions:
      throws java.lang.IllegalArgumentException
    MethodParameters:
           Name  Flags
      authority  

  public java.lang.String getHost();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.eclipse.jetty.util.HostPort this
         0: .line 109
            aload 0 /* this */
            getfield org.eclipse.jetty.util.HostPort._host:Ljava/lang/String;
            areturn
        end local 0 // org.eclipse.jetty.util.HostPort this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/eclipse/jetty/util/HostPort;

  public int getPort();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.eclipse.jetty.util.HostPort this
         0: .line 119
            aload 0 /* this */
            getfield org.eclipse.jetty.util.HostPort._port:I
            ireturn
        end local 0 // org.eclipse.jetty.util.HostPort this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/eclipse/jetty/util/HostPort;

  public int getPort(int);
    descriptor: (I)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // org.eclipse.jetty.util.HostPort this
        start local 1 // int defaultPort
         0: .line 130
            aload 0 /* this */
            getfield org.eclipse.jetty.util.HostPort._port:I
            ifle 1
            aload 0 /* this */
            getfield org.eclipse.jetty.util.HostPort._port:I
            goto 2
      StackMap locals:
      StackMap stack:
         1: iload 1 /* defaultPort */
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 1 // int defaultPort
        end local 0 // org.eclipse.jetty.util.HostPort this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0         this  Lorg/eclipse/jetty/util/HostPort;
            0    3     1  defaultPort  I
    MethodParameters:
             Name  Flags
      defaultPort  

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.eclipse.jetty.util.HostPort this
         0: .line 136
            aload 0 /* this */
            getfield org.eclipse.jetty.util.HostPort._port:I
            ifle 2
         1: .line 137
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            getfield org.eclipse.jetty.util.HostPort._host:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ":"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield org.eclipse.jetty.util.HostPort._port:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
         2: .line 138
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.eclipse.jetty.util.HostPort._host:Ljava/lang/String;
            areturn
        end local 0 // org.eclipse.jetty.util.HostPort this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/eclipse/jetty/util/HostPort;

  public static java.lang.String normalizeHost(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String host
         0: .line 152
            aload 0 /* host */
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 1
            aload 0 /* host */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            bipush 91
            if_icmpeq 1
            aload 0 /* host */
            bipush 58
            invokevirtual java.lang.String.indexOf:(I)I
            ifge 2
         1: .line 153
      StackMap locals:
      StackMap stack:
            aload 0 /* host */
            areturn
         2: .line 156
      StackMap locals:
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* host */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // java.lang.String host
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  host  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      host  

  public static int parsePort(java.lang.String);
    descriptor: (Ljava/lang/String;)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.lang.String rawPort
         0: .line 168
            aload 0 /* rawPort */
            invokestatic org.eclipse.jetty.util.StringUtil.isEmpty:(Ljava/lang/String;)Z
            ifeq 2
         1: .line 169
            new java.lang.IllegalArgumentException
            dup
            ldc "Bad port"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 171
      StackMap locals:
      StackMap stack:
            aload 0 /* rawPort */
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            istore 1 /* port */
        start local 1 // int port
         3: .line 172
            iload 1 /* port */
            ifle 4
            iload 1 /* port */
            ldc 65535
            if_icmple 5
         4: .line 173
      StackMap locals: int
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            ldc "Bad port"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 175
      StackMap locals:
      StackMap stack:
            iload 1 /* port */
            ireturn
        end local 1 // int port
        end local 0 // java.lang.String rawPort
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0  rawPort  Ljava/lang/String;
            3    6     1     port  I
    Exceptions:
      throws java.lang.IllegalArgumentException
    MethodParameters:
         Name  Flags
      rawPort  
}
SourceFile: "HostPort.java"