public class org.springframework.http.server.reactive.ServletHttpHandlerAdapter implements javax.servlet.Servlet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.http.server.reactive.ServletHttpHandlerAdapter
super_class: java.lang.Object
{
private static final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int DEFAULT_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8192
private static final java.lang.String WRITE_ERROR_ATTRIBUTE_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.springframework.http.server.reactive.HttpHandler httpHandler;
descriptor: Lorg/springframework/http/server/reactive/HttpHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int bufferSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String servletPath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.springframework.core.io.buffer.DataBufferFactory dataBufferFactory;
descriptor: Lorg/springframework/core/io/buffer/DataBufferFactory;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
invokestatic org.springframework.http.HttpLogging.forLogName:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.http.server.reactive.ServletHttpHandlerAdapter.logger:Lorg/apache/commons/logging/Log;
1: new java.lang.StringBuilder
dup
ldc Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".ERROR"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putstatic org.springframework.http.server.reactive.ServletHttpHandlerAdapter.WRITE_ERROR_ATTRIBUTE_NAME:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.springframework.http.server.reactive.HttpHandler);
descriptor: (Lorg/springframework/http/server/reactive/HttpHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
sipush 8192
putfield org.springframework.http.server.reactive.ServletHttpHandlerAdapter.bufferSize:I
2: aload 0
new org.springframework.core.io.buffer.DefaultDataBufferFactory
dup
iconst_0
invokespecial org.springframework.core.io.buffer.DefaultDataBufferFactory.<init>:(Z)V
putfield org.springframework.http.server.reactive.ServletHttpHandlerAdapter.dataBufferFactory:Lorg/springframework/core/io/buffer/DataBufferFactory;
3: aload 1
ldc "HttpHandler must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
4: aload 0
aload 1
putfield org.springframework.http.server.reactive.ServletHttpHandlerAdapter.httpHandler:Lorg/springframework/http/server/reactive/HttpHandler;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
0 6 1 httpHandler Lorg/springframework/http/server/reactive/HttpHandler;
MethodParameters:
Name Flags
httpHandler
public void setBufferSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Buffer size must be larger than zero"
invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
3: aload 0
iload 1
putfield org.springframework.http.server.reactive.ServletHttpHandlerAdapter.bufferSize:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
0 5 1 bufferSize I
MethodParameters:
Name Flags
bufferSize
public int getBufferSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.server.reactive.ServletHttpHandlerAdapter.bufferSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
public java.lang.String getServletPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.server.reactive.ServletHttpHandlerAdapter.servletPath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void setDataBufferFactory(org.springframework.core.io.buffer.DataBufferFactory);
descriptor: (Lorg/springframework/core/io/buffer/DataBufferFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "DataBufferFactory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
putfield org.springframework.http.server.reactive.ServletHttpHandlerAdapter.dataBufferFactory:Lorg/springframework/core/io/buffer/DataBufferFactory;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
0 3 1 dataBufferFactory Lorg/springframework/core/io/buffer/DataBufferFactory;
MethodParameters:
Name Flags
dataBufferFactory
public org.springframework.core.io.buffer.DataBufferFactory getDataBufferFactory();
descriptor: ()Lorg/springframework/core/io/buffer/DataBufferFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.server.reactive.ServletHttpHandlerAdapter.dataBufferFactory:Lorg/springframework/core/io/buffer/DataBufferFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
public void init(javax.servlet.ServletConfig);
descriptor: (Ljavax/servlet/ServletConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual org.springframework.http.server.reactive.ServletHttpHandlerAdapter.getServletPath:(Ljavax/servlet/ServletConfig;)Ljava/lang/String;
putfield org.springframework.http.server.reactive.ServletHttpHandlerAdapter.servletPath:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
0 2 1 config Ljavax/servlet/ServletConfig;
MethodParameters:
Name Flags
config
private java.lang.String getServletPath(javax.servlet.ServletConfig);
descriptor: (Ljavax/servlet/ServletConfig;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method getServletRegistration(String) is undefined for the type ServletContext\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
MethodParameters:
Name Flags
config
public void service(javax.servlet.ServletRequest, javax.servlet.ServletResponse);
descriptor: (Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe method getDispatcherType() is undefined for the type ServletRequest\n\tThe method startAsync() is undefined for the type ServletRequest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
Exceptions:
throws javax.servlet.ServletException, java.io.IOException
MethodParameters:
Name Flags
request
response
protected org.springframework.http.server.reactive.ServletServerHttpRequest createRequest(javax.servlet.http.HttpServletRequest, javax.servlet.AsyncContext);
descriptor: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/AsyncContext;)Lorg/springframework/http/server/reactive/ServletServerHttpRequest;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.http.server.reactive.ServletHttpHandlerAdapter.servletPath:Ljava/lang/String;
ldc "Servlet path is not initialized"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: new org.springframework.http.server.reactive.ServletServerHttpRequest
dup
2: aload 1
aload 2
aload 0
getfield org.springframework.http.server.reactive.ServletHttpHandlerAdapter.servletPath:Ljava/lang/String;
aload 0
invokevirtual org.springframework.http.server.reactive.ServletHttpHandlerAdapter.getDataBufferFactory:()Lorg/springframework/core/io/buffer/DataBufferFactory;
aload 0
invokevirtual org.springframework.http.server.reactive.ServletHttpHandlerAdapter.getBufferSize:()I
3: invokespecial org.springframework.http.server.reactive.ServletServerHttpRequest.<init>:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/AsyncContext;Ljava/lang/String;Lorg/springframework/core/io/buffer/DataBufferFactory;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
0 4 1 request Ljavax/servlet/http/HttpServletRequest;
0 4 2 context Ljavax/servlet/AsyncContext;
Exceptions:
throws java.io.IOException, java.net.URISyntaxException
MethodParameters:
Name Flags
request
context
protected org.springframework.http.server.reactive.ServletServerHttpResponse createResponse(javax.servlet.http.HttpServletResponse, javax.servlet.AsyncContext, org.springframework.http.server.reactive.ServletServerHttpRequest);
descriptor: (Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/AsyncContext;Lorg/springframework/http/server/reactive/ServletServerHttpRequest;)Lorg/springframework/http/server/reactive/ServletServerHttpResponse;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.springframework.http.server.reactive.ServletServerHttpResponse
dup
aload 1
aload 2
aload 0
invokevirtual org.springframework.http.server.reactive.ServletHttpHandlerAdapter.getDataBufferFactory:()Lorg/springframework/core/io/buffer/DataBufferFactory;
aload 0
invokevirtual org.springframework.http.server.reactive.ServletHttpHandlerAdapter.getBufferSize:()I
aload 3
invokespecial org.springframework.http.server.reactive.ServletServerHttpResponse.<init>:(Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/AsyncContext;Lorg/springframework/core/io/buffer/DataBufferFactory;ILorg/springframework/http/server/reactive/ServletServerHttpRequest;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
0 1 1 response Ljavax/servlet/http/HttpServletResponse;
0 1 2 context Ljavax/servlet/AsyncContext;
0 1 3 request Lorg/springframework/http/server/reactive/ServletServerHttpRequest;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
response
context
request
public java.lang.String getServletInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
public javax.servlet.ServletConfig getServletConfig();
descriptor: ()Ljavax/servlet/ServletConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 this Lorg/springframework/http/server/reactive/ServletHttpHandlerAdapter;
private static void runIfAsyncNotComplete(javax.servlet.AsyncContext, java.util.concurrent.atomic.AtomicBoolean, java.lang.Runnable);
descriptor: (Ljavax/servlet/AsyncContext;Ljava/util/concurrent/atomic/AtomicBoolean;Ljava/lang/Runnable;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method isAsyncStarted() is undefined for the type ServletRequest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
asyncContext
isCompleted
task
}
SourceFile: "ServletHttpHandlerAdapter.java"
NestMembers:
org.springframework.http.server.reactive.ServletHttpHandlerAdapter$HandlerResultAsyncListener org.springframework.http.server.reactive.ServletHttpHandlerAdapter$HandlerResultSubscriber
InnerClasses:
private HandlerResultAsyncListener = org.springframework.http.server.reactive.ServletHttpHandlerAdapter$HandlerResultAsyncListener of org.springframework.http.server.reactive.ServletHttpHandlerAdapter
private HandlerResultSubscriber = org.springframework.http.server.reactive.ServletHttpHandlerAdapter$HandlerResultSubscriber of org.springframework.http.server.reactive.ServletHttpHandlerAdapter