public class io.netty.handler.codec.rtsp.RtspDecoder extends io.netty.handler.codec.http.HttpObjectDecoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.rtsp.RtspDecoder
super_class: io.netty.handler.codec.http.HttpObjectDecoder
{
private static final io.netty.handler.codec.http.HttpResponseStatus UNKNOWN_STATUS;
descriptor: Lio/netty/handler/codec/http/HttpResponseStatus;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private boolean isDecodingRequest;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final java.util.regex.Pattern versionPattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final int DEFAULT_MAX_INITIAL_LINE_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4096
public static final int DEFAULT_MAX_HEADER_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8192
public static final int DEFAULT_MAX_CONTENT_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8192
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new io.netty.handler.codec.http.HttpResponseStatus
dup
sipush 999
ldc "Unknown"
invokespecial io.netty.handler.codec.http.HttpResponseStatus.<init>:(ILjava/lang/String;)V
1: putstatic io.netty.handler.codec.rtsp.RtspDecoder.UNKNOWN_STATUS:Lio/netty/handler/codec/http/HttpResponseStatus;
2: ldc "RTSP/\\d\\.\\d"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic io.netty.handler.codec.rtsp.RtspDecoder.versionPattern:Ljava/util/regex/Pattern;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
sipush 4096
1: sipush 8192
2: sipush 8192
invokespecial io.netty.handler.codec.rtsp.RtspDecoder.<init>:(III)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/rtsp/RtspDecoder;
public void <init>(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
iload 3
iconst_2
imul
iconst_0
invokespecial io.netty.handler.codec.http.HttpObjectDecoder.<init>:(IIIZ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/rtsp/RtspDecoder;
0 2 1 maxInitialLineLength I
0 2 2 maxHeaderSize I
0 2 3 maxContentLength I
MethodParameters:
Name Flags
maxInitialLineLength final
maxHeaderSize final
maxContentLength final
public void <init>(int, int, int, boolean);
descriptor: (IIIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
1: iload 2
2: iload 3
iconst_2
imul
3: iconst_0
4: iload 4
invokespecial io.netty.handler.codec.http.HttpObjectDecoder.<init>:(IIIZZ)V
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/handler/codec/rtsp/RtspDecoder;
0 6 1 maxInitialLineLength I
0 6 2 maxHeaderSize I
0 6 3 maxContentLength I
0 6 4 validateHeaders Z
MethodParameters:
Name Flags
maxInitialLineLength final
maxHeaderSize final
maxContentLength final
validateHeaders final
protected io.netty.handler.codec.http.HttpMessage createMessage(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Lio/netty/handler/codec/http/HttpMessage;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: getstatic io.netty.handler.codec.rtsp.RtspDecoder.versionPattern:Ljava/util/regex/Pattern;
aload 1
iconst_0
aaload
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 8
1: aload 0
iconst_0
putfield io.netty.handler.codec.rtsp.RtspDecoder.isDecodingRequest:Z
2: new io.netty.handler.codec.http.DefaultHttpResponse
dup
aload 1
iconst_0
aaload
invokestatic io.netty.handler.codec.rtsp.RtspVersions.valueOf:(Ljava/lang/String;)Lio/netty/handler/codec/http/HttpVersion;
3: new io.netty.handler.codec.http.HttpResponseStatus
dup
aload 1
iconst_1
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
4: aload 1
iconst_2
aaload
5: invokespecial io.netty.handler.codec.http.HttpResponseStatus.<init>:(ILjava/lang/String;)V
6: aload 0
getfield io.netty.handler.codec.rtsp.RtspDecoder.validateHeaders:Z
7: invokespecial io.netty.handler.codec.http.DefaultHttpResponse.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Z)V
areturn
8: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.netty.handler.codec.rtsp.RtspDecoder.isDecodingRequest:Z
9: new io.netty.handler.codec.http.DefaultHttpRequest
dup
aload 1
iconst_2
aaload
invokestatic io.netty.handler.codec.rtsp.RtspVersions.valueOf:(Ljava/lang/String;)Lio/netty/handler/codec/http/HttpVersion;
10: aload 1
iconst_0
aaload
invokestatic io.netty.handler.codec.rtsp.RtspMethods.valueOf:(Ljava/lang/String;)Lio/netty/handler/codec/http/HttpMethod;
11: aload 1
iconst_1
aaload
12: aload 0
getfield io.netty.handler.codec.rtsp.RtspDecoder.validateHeaders:Z
13: invokespecial io.netty.handler.codec.http.DefaultHttpRequest.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpMethod;Ljava/lang/String;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/netty/handler/codec/rtsp/RtspDecoder;
0 14 1 initialLine [Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
initialLine final
protected boolean isContentAlwaysEmpty(io.netty.handler.codec.http.HttpMessage);
descriptor: (Lio/netty/handler/codec/http/HttpMessage;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial io.netty.handler.codec.http.HttpObjectDecoder.isContentAlwaysEmpty:(Lio/netty/handler/codec/http/HttpMessage;)Z
ifne 1
aload 1
invokeinterface io.netty.handler.codec.http.HttpMessage.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.rtsp.RtspHeaderNames.CONTENT_LENGTH:Lio/netty/util/AsciiString;
invokevirtual io.netty.handler.codec.http.HttpHeaders.contains:(Ljava/lang/CharSequence;)Z
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/rtsp/RtspDecoder;
0 2 1 msg Lio/netty/handler/codec/http/HttpMessage;
MethodParameters:
Name Flags
msg final
protected io.netty.handler.codec.http.HttpMessage createInvalidMessage();
descriptor: ()Lio/netty/handler/codec/http/HttpMessage;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.rtsp.RtspDecoder.isDecodingRequest:Z
ifeq 4
1: new io.netty.handler.codec.http.DefaultFullHttpRequest
dup
getstatic io.netty.handler.codec.rtsp.RtspVersions.RTSP_1_0:Lio/netty/handler/codec/http/HttpVersion;
2: getstatic io.netty.handler.codec.rtsp.RtspMethods.OPTIONS:Lio/netty/handler/codec/http/HttpMethod;
ldc "/bad-request"
aload 0
getfield io.netty.handler.codec.rtsp.RtspDecoder.validateHeaders:Z
3: invokespecial io.netty.handler.codec.http.DefaultFullHttpRequest.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpMethod;Ljava/lang/String;Z)V
areturn
4: StackMap locals:
StackMap stack:
new io.netty.handler.codec.http.DefaultFullHttpResponse
dup
getstatic io.netty.handler.codec.rtsp.RtspVersions.RTSP_1_0:Lio/netty/handler/codec/http/HttpVersion;
5: getstatic io.netty.handler.codec.rtsp.RtspDecoder.UNKNOWN_STATUS:Lio/netty/handler/codec/http/HttpResponseStatus;
6: aload 0
getfield io.netty.handler.codec.rtsp.RtspDecoder.validateHeaders:Z
7: invokespecial io.netty.handler.codec.http.DefaultFullHttpResponse.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Z)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/handler/codec/rtsp/RtspDecoder;
protected boolean isDecodingRequest();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.rtsp.RtspDecoder.isDecodingRequest:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/rtsp/RtspDecoder;
}
SourceFile: "RtspDecoder.java"