public class examples.RxWebApiContractExamples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.RxWebApiContractExamples
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/RxWebApiContractExamples;
public void mainExample(io.vertx.reactivex.core.Vertx, io.vertx.core.Handler<io.vertx.reactivex.ext.web.RoutingContext>, io.vertx.reactivex.ext.auth.jwt.JWTAuth);
descriptor: (Lio/vertx/reactivex/core/Vertx;Lio/vertx/core/Handler;Lio/vertx/reactivex/ext/auth/jwt/JWTAuth;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ldc "src/main/resources/petstore.yaml"
invokestatic io.vertx.reactivex.ext.web.api.contract.openapi3.OpenAPI3RouterFactory.rxCreate:(Lio/vertx/reactivex/core/Vertx;Ljava/lang/String;)Lio/reactivex/Single;
1: aload 3
aload 1
invokedynamic apply(Lio/vertx/reactivex/ext/auth/jwt/JWTAuth;Lio/vertx/reactivex/core/Vertx;)Lio/reactivex/functions/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
examples/RxWebApiContractExamples.lambda$0(Lio/vertx/reactivex/ext/auth/jwt/JWTAuth;Lio/vertx/reactivex/core/Vertx;Lio/vertx/reactivex/ext/web/api/contract/openapi3/OpenAPI3RouterFactory;)Lio/reactivex/SingleSource; (6)
(Lio/vertx/reactivex/ext/web/api/contract/openapi3/OpenAPI3RouterFactory;)Lio/reactivex/SingleSource;
invokevirtual io.reactivex.Single.flatMap:(Lio/reactivex/functions/Function;)Lio/reactivex/Single;
2: invokedynamic accept()Lio/reactivex/functions/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
examples/RxWebApiContractExamples.lambda$2(Lio/vertx/reactivex/core/http/HttpServer;)V (6)
(Lio/vertx/reactivex/core/http/HttpServer;)V
3: invokedynamic accept()Lio/reactivex/functions/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
examples/RxWebApiContractExamples.lambda$3(Ljava/lang/Throwable;)V (6)
(Ljava/lang/Throwable;)V
4: invokevirtual io.reactivex.Single.subscribe:(Lio/reactivex/functions/Consumer;Lio/reactivex/functions/Consumer;)Lio/reactivex/disposables/Disposable;
pop
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/RxWebApiContractExamples;
0 6 1 vertx Lio/vertx/reactivex/core/Vertx;
0 6 2 myValidationFailureHandler Lio/vertx/core/Handler<Lio/vertx/reactivex/ext/web/RoutingContext;>;
0 6 3 jwtAuth Lio/vertx/reactivex/ext/auth/jwt/JWTAuth;
Signature: (Lio/vertx/reactivex/core/Vertx;Lio/vertx/core/Handler<Lio/vertx/reactivex/ext/web/RoutingContext;>;Lio/vertx/reactivex/ext/auth/jwt/JWTAuth;)V
MethodParameters:
Name Flags
vertx
myValidationFailureHandler
jwtAuth
private static io.reactivex.SingleSource lambda$0(io.vertx.reactivex.ext.auth.jwt.JWTAuth, io.vertx.reactivex.core.Vertx, io.vertx.reactivex.ext.web.api.contract.openapi3.OpenAPI3RouterFactory);
descriptor: (Lio/vertx/reactivex/ext/auth/jwt/JWTAuth;Lio/vertx/reactivex/core/Vertx;Lio/vertx/reactivex/ext/web/api/contract/openapi3/OpenAPI3RouterFactory;)Lio/reactivex/SingleSource;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=3
start local 2 0: new io.vertx.ext.web.api.contract.RouterFactoryOptions
dup
invokespecial io.vertx.ext.web.api.contract.RouterFactoryOptions.<init>:()V
ldc "openapi_model"
invokevirtual io.vertx.ext.web.api.contract.RouterFactoryOptions.setOperationModelKey:(Ljava/lang/String;)Lio/vertx/ext/web/api/contract/RouterFactoryOptions;
astore 3
start local 3 1: aload 2
aload 3
invokevirtual io.vertx.reactivex.ext.web.api.contract.openapi3.OpenAPI3RouterFactory.setOptions:(Lio/vertx/ext/web/api/contract/RouterFactoryOptions;)Lio/vertx/reactivex/ext/web/api/contract/RouterFactory;
pop
2: aload 2
ldc "listPets"
invokedynamic handle()Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
examples/RxWebApiContractExamples.lambda$1(Lio/vertx/reactivex/ext/web/RoutingContext;)V (6)
(Lio/vertx/reactivex/ext/web/RoutingContext;)V
invokevirtual io.vertx.reactivex.ext.web.api.contract.openapi3.OpenAPI3RouterFactory.addHandlerByOperationId:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/reactivex/ext/web/api/contract/openapi3/OpenAPI3RouterFactory;
pop
3: aload 2
ldc "api_key"
aload 0
invokestatic io.vertx.reactivex.ext.web.handler.JWTAuthHandler.create:(Lio/vertx/reactivex/ext/auth/jwt/JWTAuth;)Lio/vertx/reactivex/ext/web/handler/JWTAuthHandler;
invokevirtual io.vertx.reactivex.ext.web.api.contract.openapi3.OpenAPI3RouterFactory.addSecurityHandler:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/reactivex/ext/web/api/contract/RouterFactory;
pop
4: aload 2
invokevirtual io.vertx.reactivex.ext.web.api.contract.openapi3.OpenAPI3RouterFactory.getRouter:()Lio/vertx/reactivex/ext/web/Router;
astore 4
start local 4 5: aload 1
new io.vertx.core.http.HttpServerOptions
dup
invokespecial io.vertx.core.http.HttpServerOptions.<init>:()V
sipush 8080
invokevirtual io.vertx.core.http.HttpServerOptions.setPort:(I)Lio/vertx/core/http/HttpServerOptions;
ldc "localhost"
invokevirtual io.vertx.core.http.HttpServerOptions.setHost:(Ljava/lang/String;)Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.reactivex.core.Vertx.createHttpServer:(Lio/vertx/core/http/HttpServerOptions;)Lio/vertx/reactivex/core/http/HttpServer;
astore 5
start local 5 6: aload 5
aload 4
invokevirtual io.vertx.reactivex.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/reactivex/core/http/HttpServer;
invokevirtual io.vertx.reactivex.core.http.HttpServer.rxListen:()Lio/reactivex/Single;
areturn
end local 5 end local 4 end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 7 2 routerFactory Lio/vertx/reactivex/ext/web/api/contract/openapi3/OpenAPI3RouterFactory;
1 7 3 options Lio/vertx/ext/web/api/contract/RouterFactoryOptions;
5 7 4 router Lio/vertx/reactivex/ext/web/Router;
6 7 5 server Lio/vertx/reactivex/core/http/HttpServer;
Exceptions:
throws java.lang.Exception
private static void lambda$2(io.vertx.reactivex.core.http.HttpServer);
descriptor: (Lio/vertx/reactivex/core/http/HttpServer;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 httpServer Lio/vertx/reactivex/core/http/HttpServer;
Exceptions:
throws java.lang.Exception
private static void lambda$3(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 throwable Ljava/lang/Throwable;
Exceptions:
throws java.lang.Exception
private static void lambda$1(io.vertx.reactivex.ext.web.RoutingContext);
descriptor: (Lio/vertx/reactivex/ext/web/RoutingContext;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.reactivex.ext.web.RoutingContext.response:()Lio/vertx/reactivex/core/http/HttpServerResponse;
ldc "Called listPets"
invokevirtual io.vertx.reactivex.core.http.HttpServerResponse.setStatusMessage:(Ljava/lang/String;)Lio/vertx/reactivex/core/http/HttpServerResponse;
invokevirtual io.vertx.reactivex.core.http.HttpServerResponse.end:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 routingContext Lio/vertx/reactivex/ext/web/RoutingContext;
}
SourceFile: "RxWebApiContractExamples.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeInvisibleAnnotations:
io.vertx.docgen.Source()