public final class com.microsoft.azure.AzureResponseBuilder<T, E extends com.microsoft.rest.RestException> implements com.microsoft.rest.protocol.ResponseBuilder<T, E>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.microsoft.azure.AzureResponseBuilder
super_class: java.lang.Object
{
private com.microsoft.rest.ServiceResponseBuilder<T, E> baseBuilder;
descriptor: Lcom/microsoft/rest/ServiceResponseBuilder;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/microsoft/rest/ServiceResponseBuilder<TT;TE;>;
private void <init>(com.microsoft.rest.protocol.SerializerAdapter<?>);
descriptor: (Lcom/microsoft/rest/protocol/SerializerAdapter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new com.microsoft.rest.ServiceResponseBuilder$Factory
dup
invokespecial com.microsoft.rest.ServiceResponseBuilder$Factory.<init>:()V
aload 1
invokevirtual com.microsoft.rest.ServiceResponseBuilder$Factory.newInstance:(Lcom/microsoft/rest/protocol/SerializerAdapter;)Lcom/microsoft/rest/ServiceResponseBuilder;
putfield com.microsoft.azure.AzureResponseBuilder.baseBuilder:Lcom/microsoft/rest/ServiceResponseBuilder;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/microsoft/azure/AzureResponseBuilder<TT;TE;>;
0 3 1 serializer Lcom/microsoft/rest/protocol/SerializerAdapter<*>;
Signature: (Lcom/microsoft/rest/protocol/SerializerAdapter<*>;)V
MethodParameters:
Name Flags
serializer
public com.microsoft.rest.protocol.ResponseBuilder<T, E> register(int, java.lang.reflect.Type);
descriptor: (ILjava/lang/reflect/Type;)Lcom/microsoft/rest/protocol/ResponseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.microsoft.azure.AzureResponseBuilder.baseBuilder:Lcom/microsoft/rest/ServiceResponseBuilder;
iload 1
aload 2
invokevirtual com.microsoft.rest.ServiceResponseBuilder.register:(ILjava/lang/reflect/Type;)Lcom/microsoft/rest/ServiceResponseBuilder;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/microsoft/azure/AzureResponseBuilder<TT;TE;>;
0 2 1 statusCode I
0 2 2 type Ljava/lang/reflect/Type;
Signature: (ILjava/lang/reflect/Type;)Lcom/microsoft/rest/protocol/ResponseBuilder<TT;TE;>;
MethodParameters:
Name Flags
statusCode
type
public com.microsoft.rest.protocol.ResponseBuilder<T, E> registerError(java.lang.Class<? extends com.microsoft.rest.RestException>);
descriptor: (Ljava/lang/Class;)Lcom/microsoft/rest/protocol/ResponseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.microsoft.azure.AzureResponseBuilder.baseBuilder:Lcom/microsoft/rest/ServiceResponseBuilder;
aload 1
invokevirtual com.microsoft.rest.ServiceResponseBuilder.registerError:(Ljava/lang/Class;)Lcom/microsoft/rest/ServiceResponseBuilder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/microsoft/azure/AzureResponseBuilder<TT;TE;>;
0 2 1 type Ljava/lang/Class<+Lcom/microsoft/rest/RestException;>;
Signature: (Ljava/lang/Class<+Lcom/microsoft/rest/RestException;>;)Lcom/microsoft/rest/protocol/ResponseBuilder<TT;TE;>;
MethodParameters:
Name Flags
type
public com.microsoft.rest.ServiceResponse<T> build(retrofit2.Response<okhttp3.ResponseBody>);
descriptor: (Lretrofit2/Response;)Lcom/microsoft/rest/ServiceResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.microsoft.azure.AzureResponseBuilder.baseBuilder:Lcom/microsoft/rest/ServiceResponseBuilder;
aload 1
invokevirtual com.microsoft.rest.ServiceResponseBuilder.build:(Lretrofit2/Response;)Lcom/microsoft/rest/ServiceResponse;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/azure/AzureResponseBuilder<TT;TE;>;
0 1 1 response Lretrofit2/Response<Lokhttp3/ResponseBody;>;
Exceptions:
throws java.io.IOException
Signature: (Lretrofit2/Response<Lokhttp3/ResponseBody;>;)Lcom/microsoft/rest/ServiceResponse<TT;>;
MethodParameters:
Name Flags
response
public com.microsoft.rest.ServiceResponse<T> buildEmpty(retrofit2.Response<java.lang.Void>) throws E, java.io.IOException;
descriptor: (Lretrofit2/Response;)Lcom/microsoft/rest/ServiceResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual retrofit2.Response.code:()I
istore 2
start local 2 1: aload 0
getfield com.microsoft.azure.AzureResponseBuilder.baseBuilder:Lcom/microsoft/rest/ServiceResponseBuilder;
iload 2
invokevirtual com.microsoft.rest.ServiceResponseBuilder.isSuccessful:(I)Z
ifeq 7
2: new com.microsoft.azure.AzureResponseBuilder$1
dup
aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokespecial com.microsoft.azure.AzureResponseBuilder$1.<init>:(Lcom/microsoft/azure/AzureResponseBuilder;Ljava/lang/Class;)V
invokevirtual com.microsoft.azure.AzureResponseBuilder$1.getRawType:()Ljava/lang/Class;
ldc Ljava/lang/Boolean;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 6
3: new com.microsoft.rest.ServiceResponse
dup
aload 1
invokespecial com.microsoft.rest.ServiceResponse.<init>:(Lretrofit2/Response;)V
iload 2
bipush 100
idiv
iconst_2
if_icmpne 4
iconst_1
goto 5
StackMap locals: com.microsoft.azure.AzureResponseBuilder retrofit2.Response int
StackMap stack: com.microsoft.rest.ServiceResponse
4: iconst_0
StackMap locals: com.microsoft.azure.AzureResponseBuilder retrofit2.Response int
StackMap stack: com.microsoft.rest.ServiceResponse int
5: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual com.microsoft.rest.ServiceResponse.withBody:(Ljava/lang/Object;)Lcom/microsoft/rest/ServiceResponse;
areturn
6: StackMap locals:
StackMap stack:
new com.microsoft.rest.ServiceResponse
dup
aload 1
invokespecial com.microsoft.rest.ServiceResponse.<init>:(Lretrofit2/Response;)V
areturn
7: StackMap locals:
StackMap stack:
aload 0
getfield com.microsoft.azure.AzureResponseBuilder.baseBuilder:Lcom/microsoft/rest/ServiceResponseBuilder;
invokevirtual com.microsoft.rest.ServiceResponseBuilder.exceptionType:()Ljava/lang/Class;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
dup
iconst_1
ldc Lretrofit2/Response;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_2
anewarray java.lang.Object
dup
iconst_0
8: new java.lang.StringBuilder
dup
ldc "Status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.microsoft.rest.RestException
9: athrow
10: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 3
start local 3 11: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Invalid status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", but an instance of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.microsoft.azure.AzureResponseBuilder.baseBuilder:Lcom/microsoft/rest/ServiceResponseBuilder;
invokevirtual com.microsoft.rest.ServiceResponseBuilder.exceptionType:()Ljava/lang/Class;
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc " cannot be created."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
13: invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/microsoft/azure/AzureResponseBuilder<TT;TE;>;
0 14 1 response Lretrofit2/Response<Ljava/lang/Void;>;
1 14 2 statusCode I
11 14 3 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
7 10 10 Class java.lang.InstantiationException
7 10 10 Class java.lang.IllegalAccessException
7 10 10 Class java.lang.reflect.InvocationTargetException
7 10 10 Class java.lang.NoSuchMethodException
Exceptions:
throws com.microsoft.rest.RestException, java.io.IOException
Signature: (Lretrofit2/Response<Ljava/lang/Void;>;)Lcom/microsoft/rest/ServiceResponse<TT;>;^TE;^Ljava/io/IOException;
MethodParameters:
Name Flags
response
public <THeader> com.microsoft.rest.ServiceResponseWithHeaders<T, THeader> buildWithHeaders(retrofit2.Response<okhttp3.ResponseBody>, java.lang.Class<THeader>);
descriptor: (Lretrofit2/Response;Ljava/lang/Class;)Lcom/microsoft/rest/ServiceResponseWithHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.microsoft.azure.AzureResponseBuilder.baseBuilder:Lcom/microsoft/rest/ServiceResponseBuilder;
aload 1
aload 2
invokevirtual com.microsoft.rest.ServiceResponseBuilder.buildWithHeaders:(Lretrofit2/Response;Ljava/lang/Class;)Lcom/microsoft/rest/ServiceResponseWithHeaders;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/azure/AzureResponseBuilder<TT;TE;>;
0 1 1 response Lretrofit2/Response<Lokhttp3/ResponseBody;>;
0 1 2 headerType Ljava/lang/Class<TTHeader;>;
Exceptions:
throws java.io.IOException
Signature: <THeader:Ljava/lang/Object;>(Lretrofit2/Response<Lokhttp3/ResponseBody;>;Ljava/lang/Class<TTHeader;>;)Lcom/microsoft/rest/ServiceResponseWithHeaders<TT;TTHeader;>;
MethodParameters:
Name Flags
response
headerType
public <THeader> com.microsoft.rest.ServiceResponseWithHeaders<T, THeader> buildEmptyWithHeaders(retrofit2.Response<java.lang.Void>, java.lang.Class<THeader>);
descriptor: (Lretrofit2/Response;Ljava/lang/Class;)Lcom/microsoft/rest/ServiceResponseWithHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.microsoft.azure.AzureResponseBuilder.buildEmpty:(Lretrofit2/Response;)Lcom/microsoft/rest/ServiceResponse;
astore 3
start local 3 1: aload 0
getfield com.microsoft.azure.AzureResponseBuilder.baseBuilder:Lcom/microsoft/rest/ServiceResponseBuilder;
aload 1
aload 2
invokevirtual com.microsoft.rest.ServiceResponseBuilder.buildEmptyWithHeaders:(Lretrofit2/Response;Ljava/lang/Class;)Lcom/microsoft/rest/ServiceResponseWithHeaders;
astore 4
start local 4 2: new com.microsoft.rest.ServiceResponseWithHeaders
dup
aload 4
invokevirtual com.microsoft.rest.ServiceResponseWithHeaders.headers:()Ljava/lang/Object;
aload 3
invokevirtual com.microsoft.rest.ServiceResponse.headResponse:()Lretrofit2/Response;
invokespecial com.microsoft.rest.ServiceResponseWithHeaders.<init>:(Ljava/lang/Object;Lretrofit2/Response;)V
astore 5
start local 5 3: aload 5
aload 3
invokevirtual com.microsoft.rest.ServiceResponse.body:()Ljava/lang/Object;
invokevirtual com.microsoft.rest.ServiceResponseWithHeaders.withBody:(Ljava/lang/Object;)Lcom/microsoft/rest/ServiceResponse;
pop
4: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/microsoft/azure/AzureResponseBuilder<TT;TE;>;
0 5 1 response Lretrofit2/Response<Ljava/lang/Void;>;
0 5 2 headerType Ljava/lang/Class<TTHeader;>;
1 5 3 bodyResponse Lcom/microsoft/rest/ServiceResponse<TT;>;
2 5 4 baseResponse Lcom/microsoft/rest/ServiceResponseWithHeaders<TT;TTHeader;>;
3 5 5 serviceResponse Lcom/microsoft/rest/ServiceResponseWithHeaders<TT;TTHeader;>;
Exceptions:
throws java.io.IOException
Signature: <THeader:Ljava/lang/Object;>(Lretrofit2/Response<Ljava/lang/Void;>;Ljava/lang/Class<TTHeader;>;)Lcom/microsoft/rest/ServiceResponseWithHeaders<TT;TTHeader;>;
MethodParameters:
Name Flags
response
headerType
public com.microsoft.azure.AzureResponseBuilder<T, E> withThrowOnGet404(boolean);
descriptor: (Z)Lcom/microsoft/azure/AzureResponseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.microsoft.azure.AzureResponseBuilder.baseBuilder:Lcom/microsoft/rest/ServiceResponseBuilder;
iload 1
invokevirtual com.microsoft.rest.ServiceResponseBuilder.withThrowOnGet404:(Z)Lcom/microsoft/rest/ServiceResponseBuilder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/microsoft/azure/AzureResponseBuilder<TT;TE;>;
0 2 1 throwOnGet404 Z
Signature: (Z)Lcom/microsoft/azure/AzureResponseBuilder<TT;TE;>;
MethodParameters:
Name Flags
throwOnGet404
}
Signature: <T:Ljava/lang/Object;E:Lcom/microsoft/rest/RestException;>Ljava/lang/Object;Lcom/microsoft/rest/protocol/ResponseBuilder<TT;TE;>;
SourceFile: "AzureResponseBuilder.java"
NestMembers:
com.microsoft.azure.AzureResponseBuilder$1 com.microsoft.azure.AzureResponseBuilder$Factory
InnerClasses:
com.microsoft.azure.AzureResponseBuilder$1
public final Factory = com.microsoft.azure.AzureResponseBuilder$Factory of com.microsoft.azure.AzureResponseBuilder
public final Factory = com.microsoft.rest.ServiceResponseBuilder$Factory of com.microsoft.rest.ServiceResponseBuilder