class io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference extends io.vertx.servicediscovery.types.AbstractServiceReference<io.vertx.core.http.HttpClient>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference
  super_class: io.vertx.servicediscovery.types.AbstractServiceReference
{
  private final io.vertx.servicediscovery.types.HttpLocation location;
    descriptor: Lio/vertx/servicediscovery/types/HttpLocation;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final io.vertx.core.json.JsonObject config;
    descriptor: Lio/vertx/core/json/JsonObject;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.lang.Object retrieved;
    descriptor: Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE

  final io.vertx.servicediscovery.types.impl.HttpEndpointImpl this$0;
    descriptor: Lio/vertx/servicediscovery/types/impl/HttpEndpointImpl;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(io.vertx.servicediscovery.types.impl.HttpEndpointImpl, io.vertx.core.Vertx, io.vertx.servicediscovery.ServiceDiscovery, io.vertx.servicediscovery.Record, io.vertx.core.json.JsonObject);
    descriptor: (Lio/vertx/servicediscovery/types/impl/HttpEndpointImpl;Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/servicediscovery/Record;Lio/vertx/core/json/JsonObject;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=6, args_size=6
        start local 0 // io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference this
        start local 2 // io.vertx.core.Vertx vertx
        start local 3 // io.vertx.servicediscovery.ServiceDiscovery discovery
        start local 4 // io.vertx.servicediscovery.Record record
        start local 5 // io.vertx.core.json.JsonObject config
         0: .line 66
            aload 0 /* this */
            aload 1
            putfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.this$0:Lio/vertx/servicediscovery/types/impl/HttpEndpointImpl;
         1: .line 67
            aload 0 /* this */
            aload 2 /* vertx */
            aload 3 /* discovery */
            aload 4 /* record */
            invokespecial io.vertx.servicediscovery.types.AbstractServiceReference.<init>:(Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/servicediscovery/Record;)V
         2: .line 68
            aload 0 /* this */
            aload 5 /* config */
            putfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.config:Lio/vertx/core/json/JsonObject;
         3: .line 69
            aload 0 /* this */
            new io.vertx.servicediscovery.types.HttpLocation
            dup
            aload 4 /* record */
            invokevirtual io.vertx.servicediscovery.Record.getLocation:()Lio/vertx/core/json/JsonObject;
            invokespecial io.vertx.servicediscovery.types.HttpLocation.<init>:(Lio/vertx/core/json/JsonObject;)V
            putfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.location:Lio/vertx/servicediscovery/types/HttpLocation;
         4: .line 70
            return
        end local 5 // io.vertx.core.json.JsonObject config
        end local 4 // io.vertx.servicediscovery.Record record
        end local 3 // io.vertx.servicediscovery.ServiceDiscovery discovery
        end local 2 // io.vertx.core.Vertx vertx
        end local 0 // io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lio/vertx/servicediscovery/types/impl/HttpEndpointImpl$HttpEndpointReference;
            0    5     2      vertx  Lio/vertx/core/Vertx;
            0    5     3  discovery  Lio/vertx/servicediscovery/ServiceDiscovery;
            0    5     4     record  Lio/vertx/servicediscovery/Record;
            0    5     5     config  Lio/vertx/core/json/JsonObject;
    MethodParameters:
           Name  Flags
      this$0     final
      vertx      
      discovery  
      record     
      config     

  public io.vertx.core.http.HttpClient retrieve();
    descriptor: ()Lio/vertx/core/http/HttpClient;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference this
         0: .line 80
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.config:Lio/vertx/core/json/JsonObject;
            ifnull 3
         1: .line 81
            new io.vertx.core.http.HttpClientOptions
            dup
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.config:Lio/vertx/core/json/JsonObject;
            invokespecial io.vertx.core.http.HttpClientOptions.<init>:(Lio/vertx/core/json/JsonObject;)V
            astore 1 /* options */
        start local 1 // io.vertx.core.http.HttpClientOptions options
         2: .line 82
            goto 4
        end local 1 // io.vertx.core.http.HttpClientOptions options
         3: .line 83
      StackMap locals:
      StackMap stack:
            new io.vertx.core.http.HttpClientOptions
            dup
            invokespecial io.vertx.core.http.HttpClientOptions.<init>:()V
            astore 1 /* options */
        start local 1 // io.vertx.core.http.HttpClientOptions options
         4: .line 85
      StackMap locals: io.vertx.core.http.HttpClientOptions
      StackMap stack:
            aload 1 /* options */
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.location:Lio/vertx/servicediscovery/types/HttpLocation;
            invokevirtual io.vertx.servicediscovery.types.HttpLocation.getPort:()I
            invokevirtual io.vertx.core.http.HttpClientOptions.setDefaultPort:(I)Lio/vertx/core/http/HttpClientOptions;
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.location:Lio/vertx/servicediscovery/types/HttpLocation;
            invokevirtual io.vertx.servicediscovery.types.HttpLocation.getHost:()Ljava/lang/String;
            invokevirtual io.vertx.core.http.HttpClientOptions.setDefaultHost:(Ljava/lang/String;)Lio/vertx/core/http/HttpClientOptions;
            pop
         5: .line 86
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.location:Lio/vertx/servicediscovery/types/HttpLocation;
            invokevirtual io.vertx.servicediscovery.types.HttpLocation.isSsl:()Z
            ifeq 7
         6: .line 87
            aload 1 /* options */
            iconst_1
            invokevirtual io.vertx.core.http.HttpClientOptions.setSsl:(Z)Lio/vertx/core/http/HttpClientOptions;
            pop
         7: .line 90
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.vertx:Lio/vertx/core/Vertx;
            aload 1 /* options */
            invokeinterface io.vertx.core.Vertx.createHttpClient:(Lio/vertx/core/http/HttpClientOptions;)Lio/vertx/core/http/HttpClient;
            areturn
        end local 1 // io.vertx.core.http.HttpClientOptions options
        end local 0 // io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    8     0     this  Lio/vertx/servicediscovery/types/impl/HttpEndpointImpl$HttpEndpointReference;
            2    3     1  options  Lio/vertx/core/http/HttpClientOptions;
            4    8     1  options  Lio/vertx/core/http/HttpClientOptions;

  public synchronized void onClose();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference this
         0: .line 98
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.service:Ljava/lang/Object;
            checkcast io.vertx.core.http.HttpClient
            invokeinterface io.vertx.core.http.HttpClient.close:()Lio/vertx/core/Future;
            pop
         1: .line 99
            aload 0 /* this */
            aconst_null
            putfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.retrieved:Ljava/lang/Object;
         2: .line 100
            return
        end local 0 // io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/vertx/servicediscovery/types/impl/HttpEndpointImpl$HttpEndpointReference;

  public synchronized <X> X getAs(java.lang.Class<X>);
    descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference this
        start local 1 // java.lang.Class x
         0: .line 114
            aload 0 /* this */
            invokevirtual io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.get:()Ljava/lang/Object;
            astore 2 /* svc */
        start local 2 // java.lang.Object svc
         1: .line 116
            aload 1 /* x */
            ifnull 2
            aload 1 /* x */
            aload 2 /* svc */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 4
         2: .line 117
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            aload 2 /* svc */
            putfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.retrieved:Ljava/lang/Object;
         3: .line 118
            aload 2 /* svc */
            areturn
         4: .line 119
      StackMap locals:
      StackMap stack:
            aload 1 /* x */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            ldc "WebClient"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifeq 12
         5: .line 121
            aload 2 /* svc */
            checkcast io.vertx.core.http.HttpClient
            invokestatic io.vertx.ext.web.client.WebClient.wrap:(Lio/vertx/core/http/HttpClient;)Lio/vertx/ext/web/client/WebClient;
            astore 3 /* client */
        start local 3 // io.vertx.ext.web.client.WebClient client
         6: .line 122
            aload 1 /* x */
            aload 3 /* client */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 9
         7: .line 123
            aload 0 /* this */
            aload 3 /* client */
            putfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.retrieved:Ljava/lang/Object;
         8: .line 124
            aload 1 /* x */
            aload 3 /* client */
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            areturn
         9: .line 126
      StackMap locals: io.vertx.ext.web.client.WebClient
      StackMap stack:
            aload 1 /* x */
            aload 3 /* client */
            invokestatic io.vertx.servicediscovery.utils.ClassLoaderUtils.createWithDelegate:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
            astore 4 /* wrapped */
        start local 4 // java.lang.Object wrapped
        10: .line 127
            aload 0 /* this */
            aload 4 /* wrapped */
            putfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.retrieved:Ljava/lang/Object;
        11: .line 128
            aload 4 /* wrapped */
            areturn
        end local 4 // java.lang.Object wrapped
        end local 3 // io.vertx.ext.web.client.WebClient client
        12: .line 131
      StackMap locals:
      StackMap stack:
            aload 1 /* x */
            aload 2 /* svc */
            invokestatic io.vertx.servicediscovery.utils.ClassLoaderUtils.createWithDelegate:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
            astore 3 /* client */
        start local 3 // java.lang.Object client
        13: .line 132
            aload 0 /* this */
            aload 3 /* client */
            putfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.retrieved:Ljava/lang/Object;
        14: .line 133
            aload 3 /* client */
            areturn
        end local 3 // java.lang.Object client
        end local 2 // java.lang.Object svc
        end local 1 // java.lang.Class x
        end local 0 // io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   15     0     this  Lio/vertx/servicediscovery/types/impl/HttpEndpointImpl$HttpEndpointReference;
            0   15     1        x  Ljava/lang/Class<TX;>;
            1   15     2      svc  Ljava/lang/Object;
            6   12     3   client  Lio/vertx/ext/web/client/WebClient;
           10   12     4  wrapped  TX;
           13   15     3   client  TX;
    Signature: <X:Ljava/lang/Object;>(Ljava/lang/Class<TX;>;)TX;
    MethodParameters:
      Name  Flags
      x     

  public synchronized <X> X cachedAs(java.lang.Class<X>);
    descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference this
        start local 1 // java.lang.Class x
         0: .line 147
            aload 0 /* this */
            invokevirtual io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.cached:()Ljava/lang/Object;
            astore 2 /* svc */
        start local 2 // java.lang.Object svc
         1: .line 149
            aload 2 /* svc */
            ifnonnull 3
         2: .line 150
            aconst_null
            areturn
         3: .line 153
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.retrieved:Ljava/lang/Object;
            ifnull 5
            aload 1 /* x */
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.retrieved:Ljava/lang/Object;
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 5
         4: .line 154
            aload 1 /* x */
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.retrieved:Ljava/lang/Object;
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            areturn
         5: .line 157
      StackMap locals:
      StackMap stack:
            aload 1 /* x */
            ifnull 6
            aload 1 /* x */
            aload 2 /* svc */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 7
         6: .line 158
      StackMap locals:
      StackMap stack:
            aload 2 /* svc */
            areturn
         7: .line 160
      StackMap locals:
      StackMap stack:
            aload 1 /* x */
            aload 2 /* svc */
            invokestatic io.vertx.servicediscovery.utils.ClassLoaderUtils.createWithDelegate:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 2 // java.lang.Object svc
        end local 1 // java.lang.Class x
        end local 0 // io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lio/vertx/servicediscovery/types/impl/HttpEndpointImpl$HttpEndpointReference;
            0    8     1     x  Ljava/lang/Class<TX;>;
            1    8     2   svc  Ljava/lang/Object;
    Signature: <X:Ljava/lang/Object;>(Ljava/lang/Class<TX;>;)TX;
    MethodParameters:
      Name  Flags
      x     

  public synchronized boolean isHolding(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference this
        start local 1 // java.lang.Object object
         0: .line 167
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.service:Ljava/lang/Object;
            ifnull 1
            aload 1 /* object */
            invokevirtual java.lang.Object.hashCode:()I
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.service:Ljava/lang/Object;
            checkcast io.vertx.core.http.HttpClient
            invokevirtual java.lang.Object.hashCode:()I
            if_icmpeq 3
            aload 1 /* object */
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.service:Ljava/lang/Object;
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifne 3
         1: .line 168
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.retrieved:Ljava/lang/Object;
            ifnull 2
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.retrieved:Ljava/lang/Object;
            invokevirtual java.lang.Object.hashCode:()I
            aload 1 /* object */
            invokevirtual java.lang.Object.hashCode:()I
            if_icmpeq 3
            aload 1 /* object */
            aload 0 /* this */
            getfield io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.retrieved:Ljava/lang/Object;
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifne 3
         2: .line 167
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         3: iconst_1
            ireturn
        end local 1 // java.lang.Object object
        end local 0 // io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lio/vertx/servicediscovery/types/impl/HttpEndpointImpl$HttpEndpointReference;
            0    4     1  object  Ljava/lang/Object;
    MethodParameters:
        Name  Flags
      object  

  public java.lang.Object retrieve();
    descriptor: ()Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference.retrieve:()Lio/vertx/core/http/HttpClient;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Lio/vertx/servicediscovery/types/AbstractServiceReference<Lio/vertx/core/http/HttpClient;>;
SourceFile: "HttpEndpointImpl.java"
NestHost: io.vertx.servicediscovery.types.impl.HttpEndpointImpl
InnerClasses:
  private HttpEndpointReference = io.vertx.servicediscovery.types.impl.HttpEndpointImpl$HttpEndpointReference of io.vertx.servicediscovery.types.impl.HttpEndpointImpl