public class org.eclipse.jetty.server.handler.ErrorHandler extends org.eclipse.jetty.server.handler.AbstractHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.handler.ErrorHandler
super_class: org.eclipse.jetty.server.handler.AbstractHandler
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String ERROR_PAGE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "org.eclipse.jetty.server.error_page"
public static final java.lang.String ERROR_CONTEXT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "org.eclipse.jetty.server.error_context"
boolean _showServlet;
descriptor: Z
flags: (0x0000)
boolean _showStacks;
descriptor: Z
flags: (0x0000)
boolean _disableStacks;
descriptor: Z
flags: (0x0000)
boolean _showMessageInTitle;
descriptor: Z
flags: (0x0000)
java.lang.String _cacheControl;
descriptor: Ljava/lang/String;
flags: (0x0000)
private static volatile int[] $SWITCH_TABLE$org$eclipse$jetty$http$MimeTypes$Type;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/server/handler/ErrorHandler;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/slf4j/Logger;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.server.handler.AbstractHandler.<init>:()V
1: aload 0
iconst_1
putfield org.eclipse.jetty.server.handler.ErrorHandler._showServlet:Z
2: aload 0
iconst_1
putfield org.eclipse.jetty.server.handler.ErrorHandler._showStacks:Z
3: aload 0
iconst_0
putfield org.eclipse.jetty.server.handler.ErrorHandler._disableStacks:Z
4: aload 0
iconst_1
putfield org.eclipse.jetty.server.handler.ErrorHandler._showMessageInTitle:Z
5: aload 0
ldc "must-revalidate,no-cache,no-store"
putfield org.eclipse.jetty.server.handler.ErrorHandler._cacheControl:Ljava/lang/String;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
public boolean errorPageForMethod(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 3
70454: 1
2213344: 2
2461856: 3
default: 5
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 2
ldc "GET"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 5
StackMap locals:
StackMap stack:
2: aload 2
ldc "HEAD"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 5
StackMap locals:
StackMap stack:
3: aload 2
ldc "POST"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 5
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 6 1 method Ljava/lang/String;
MethodParameters:
Name Flags
method
public void handle(java.lang.String, org.eclipse.jetty.server.Request, jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse);
descriptor: (Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.getCacheControl:()Ljava/lang/String;
astore 5
start local 5 1: aload 5
ifnull 3
2: aload 4
getstatic org.eclipse.jetty.http.HttpHeader.CACHE_CONTROL:Lorg/eclipse/jetty/http/HttpHeader;
invokevirtual org.eclipse.jetty.http.HttpHeader.asString:()Ljava/lang/String;
aload 5
invokeinterface jakarta.servlet.http.HttpServletResponse.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
instanceof org.eclipse.jetty.server.handler.ErrorHandler$ErrorPageMapper
ifeq 4
aload 0
checkcast org.eclipse.jetty.server.handler.ErrorHandler$ErrorPageMapper
aload 3
invokeinterface org.eclipse.jetty.server.handler.ErrorHandler$ErrorPageMapper.getErrorPage:(Ljakarta/servlet/http/HttpServletRequest;)Ljava/lang/String;
goto 5
StackMap locals:
StackMap stack:
4: aconst_null
StackMap locals:
StackMap stack: java.lang.String
5: astore 6
start local 6 6: aload 2
invokevirtual org.eclipse.jetty.server.Request.getErrorContext:()Lorg/eclipse/jetty/server/handler/ContextHandler$Context;
astore 7
start local 7 7: aload 6
ifnull 9
aload 7
ifnull 9
8: aload 7
aload 6
invokevirtual org.eclipse.jetty.server.handler.ContextHandler$Context.getRequestDispatcher:(Ljava/lang/String;)Ljakarta/servlet/RequestDispatcher;
checkcast org.eclipse.jetty.server.Dispatcher
goto 10
StackMap locals: java.lang.String org.eclipse.jetty.server.handler.ContextHandler$Context
StackMap stack:
9: aconst_null
10: StackMap locals:
StackMap stack: org.eclipse.jetty.server.Dispatcher
astore 8
start local 8 11: aload 8
ifnull 20
12: aload 8
aload 3
aload 4
invokevirtual org.eclipse.jetty.server.Dispatcher.error:(Ljakarta/servlet/ServletRequest;Ljakarta/servlet/ServletResponse;)V
13: aload 2
iconst_1
invokevirtual org.eclipse.jetty.server.Request.setHandled:(Z)V
14: return
15: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler java.lang.String org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse java.lang.String java.lang.String org.eclipse.jetty.server.handler.ContextHandler$Context org.eclipse.jetty.server.Dispatcher
StackMap stack: jakarta.servlet.ServletException
astore 9
start local 9 16: getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/slf4j/Logger;
ldc "Unable to call error dispatcher"
aload 9
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
17: aload 4
invokeinterface jakarta.servlet.http.HttpServletResponse.isCommitted:()Z
ifeq 20
18: aload 2
iconst_1
invokevirtual org.eclipse.jetty.server.Request.setHandled:(Z)V
19: return
end local 9 20: StackMap locals:
StackMap stack:
aload 3
ldc "jakarta.servlet.error.message"
invokeinterface jakarta.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 21: aload 9
ifnonnull 23
22: aload 2
invokevirtual org.eclipse.jetty.server.Request.getResponse:()Lorg/eclipse/jetty/server/Response;
invokevirtual org.eclipse.jetty.server.Response.getReason:()Ljava/lang/String;
astore 9
23: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 2
aload 3
aload 4
aload 4
invokeinterface jakarta.servlet.http.HttpServletResponse.getStatus:()I
aload 9
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.generateAcceptableResponse:(Lorg/eclipse/jetty/server/Request;Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;ILjava/lang/String;)V
end local 9 24: goto 28
25: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler java.lang.String org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse java.lang.String java.lang.String org.eclipse.jetty.server.handler.ContextHandler$Context org.eclipse.jetty.server.Dispatcher
StackMap stack: java.lang.Throwable
astore 10
26: aload 2
iconst_1
invokevirtual org.eclipse.jetty.server.Request.setHandled:(Z)V
27: aload 10
athrow
28: StackMap locals:
StackMap stack:
aload 2
iconst_1
invokevirtual org.eclipse.jetty.server.Request.setHandled:(Z)V
29: return
end local 8 end local 7 end local 6 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 30 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 30 1 target Ljava/lang/String;
0 30 2 baseRequest Lorg/eclipse/jetty/server/Request;
0 30 3 request Ljakarta/servlet/http/HttpServletRequest;
0 30 4 response Ljakarta/servlet/http/HttpServletResponse;
1 30 5 cacheControl Ljava/lang/String;
6 30 6 errorPage Ljava/lang/String;
7 30 7 context Lorg/eclipse/jetty/server/handler/ContextHandler$Context;
11 30 8 errorDispatcher Lorg/eclipse/jetty/server/Dispatcher;
16 20 9 e Ljakarta/servlet/ServletException;
21 24 9 message Ljava/lang/String;
Exception table:
from to target type
12 13 15 Class jakarta.servlet.ServletException
11 13 25 any
15 18 25 any
20 25 25 any
Exceptions:
throws java.io.IOException, jakarta.servlet.ServletException
MethodParameters:
Name Flags
target
baseRequest
request
response
protected void generateAcceptableResponse(org.eclipse.jetty.server.Request, jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse, int, java.lang.String);
descriptor: (Lorg/eclipse/jetty/server/Request;Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;ILjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
invokevirtual org.eclipse.jetty.server.Request.getHttpFields:()Lorg/eclipse/jetty/http/HttpFields;
getstatic org.eclipse.jetty.http.HttpHeader.ACCEPT:Lorg/eclipse/jetty/http/HttpHeader;
getstatic org.eclipse.jetty.http.QuotedQualityCSV.MOST_SPECIFIC_MIME_ORDERING:Ljava/util/function/ToIntFunction;
invokeinterface org.eclipse.jetty.http.HttpFields.getQualityCSV:(Lorg/eclipse/jetty/http/HttpHeader;Ljava/util/function/ToIntFunction;)Ljava/util/List;
astore 6
start local 6 1: aload 6
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
aload 1
invokevirtual org.eclipse.jetty.server.Request.getHttpFields:()Lorg/eclipse/jetty/http/HttpFields;
getstatic org.eclipse.jetty.http.HttpHeader.ACCEPT:Lorg/eclipse/jetty/http/HttpHeader;
invokeinterface org.eclipse.jetty.http.HttpFields.contains:(Lorg/eclipse/jetty/http/HttpHeader;)Z
ifne 4
2: aload 0
aload 1
aload 2
aload 3
iload 4
aload 5
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_HTML:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.asString:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.generateAcceptableResponse:(Lorg/eclipse/jetty/server/Request;Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;ILjava/lang/String;Ljava/lang/String;)V
3: goto 10
4: StackMap locals: java.util.List
StackMap stack:
aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 9
StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse int java.lang.String java.util.List top java.util.Iterator
StackMap stack:
5: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 6: aload 0
aload 1
aload 2
aload 3
iload 4
aload 5
aload 7
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.generateAcceptableResponse:(Lorg/eclipse/jetty/server/Request;Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;ILjava/lang/String;Ljava/lang/String;)V
7: aload 3
invokeinterface jakarta.servlet.http.HttpServletResponse.isCommitted:()Z
ifne 10
aload 1
invokevirtual org.eclipse.jetty.server.Request.getResponse:()Lorg/eclipse/jetty/server/Response;
invokevirtual org.eclipse.jetty.server.Response.isWritingOrStreaming:()Z
ifeq 9
8: goto 10
end local 7 9: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse int java.lang.String java.util.List
StackMap stack:
return
end local 6 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 11 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 11 1 baseRequest Lorg/eclipse/jetty/server/Request;
0 11 2 request Ljakarta/servlet/http/HttpServletRequest;
0 11 3 response Ljakarta/servlet/http/HttpServletResponse;
0 11 4 code I
0 11 5 message Ljava/lang/String;
1 11 6 acceptable Ljava/util/List<Ljava/lang/String;>;
6 9 7 mimeType Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
baseRequest
request
response
code
message
protected java.io.Writer getAcceptableWriter(org.eclipse.jetty.server.Request, jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse);
descriptor: (Lorg/eclipse/jetty/server/Request;Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)Ljava/io/Writer;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.eclipse.jetty.server.Request.getHttpFields:()Lorg/eclipse/jetty/http/HttpFields;
getstatic org.eclipse.jetty.http.HttpHeader.ACCEPT_CHARSET:Lorg/eclipse/jetty/http/HttpHeader;
invokeinterface org.eclipse.jetty.http.HttpFields.getQualityCSV:(Lorg/eclipse/jetty/http/HttpHeader;)Ljava/util/List;
astore 4
start local 4 1: aload 4
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
2: aload 3
getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokeinterface jakarta.servlet.http.HttpServletResponse.setCharacterEncoding:(Ljava/lang/String;)V
3: aload 3
invokeinterface jakarta.servlet.http.HttpServletResponse.getWriter:()Ljava/io/PrintWriter;
areturn
4: StackMap locals: java.util.List
StackMap stack:
aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse java.util.List top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 6: ldc "*"
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 3
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokeinterface jakarta.servlet.http.HttpServletResponse.setCharacterEncoding:(Ljava/lang/String;)V
goto 9
8: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse java.util.List java.lang.String java.util.Iterator
StackMap stack:
aload 3
aload 5
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokeinterface jakarta.servlet.http.HttpServletResponse.setCharacterEncoding:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 3
invokeinterface jakarta.servlet.http.HttpServletResponse.getWriter:()Ljava/io/PrintWriter;
10: areturn
11: StackMap locals:
StackMap stack: java.lang.Exception
astore 7
start local 7 12: getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 7
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 7 end local 5 13: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
14: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 15 1 baseRequest Lorg/eclipse/jetty/server/Request;
0 15 2 request Ljakarta/servlet/http/HttpServletRequest;
0 15 3 response Ljakarta/servlet/http/HttpServletResponse;
1 15 4 acceptable Ljava/util/List<Ljava/lang/String;>;
6 13 5 charset Ljava/lang/String;
12 13 7 e Ljava/lang/Exception;
Exception table:
from to target type
6 10 11 Class java.lang.Exception
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
baseRequest
request
response
protected void generateAcceptableResponse(org.eclipse.jetty.server.Request, jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse, int, java.lang.String, java.lang.String);
descriptor: (Lorg/eclipse/jetty/server/Request;Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;ILjava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=14, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aconst_null
astore 7
start local 7 1: aload 1
invokevirtual org.eclipse.jetty.server.Request.getHttpFields:()Lorg/eclipse/jetty/http/HttpFields;
getstatic org.eclipse.jetty.http.HttpHeader.ACCEPT_CHARSET:Lorg/eclipse/jetty/http/HttpHeader;
invokeinterface org.eclipse.jetty.http.HttpFields.getQualityCSV:(Lorg/eclipse/jetty/http/HttpHeader;)Ljava/util/List;
astore 8
start local 8 2: aload 8
invokeinterface java.util.List.isEmpty:()Z
ifne 15
3: aload 8
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 12
StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse int java.lang.String java.lang.String java.nio.charset.Charset java.util.List top java.util.Iterator
StackMap stack:
4: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 5: ldc "*"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
astore 7
7: goto 13
8: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse int java.lang.String java.lang.String java.nio.charset.Charset java.util.List java.lang.String java.util.Iterator
StackMap stack:
aload 9
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
astore 7
9: goto 12
10: StackMap locals:
StackMap stack: java.lang.Exception
astore 11
start local 11 11: getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 11
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 11 end local 9 12: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse int java.lang.String java.lang.String java.nio.charset.Charset java.util.List top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
13: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse int java.lang.String java.lang.String java.nio.charset.Charset java.util.List
StackMap stack:
aload 7
ifnonnull 15
14: return
15: StackMap locals:
StackMap stack:
aload 6
dup
astore 10
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 6
-1082243251: 16
-1082184566: 17
-877022264: 18
-43840953: 19
41861: 20
817335912: 21
default: 34
}
StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse int java.lang.String java.lang.String java.nio.charset.Charset java.util.List top java.lang.String
StackMap stack:
16: aload 10
ldc "text/html"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
goto 34
StackMap locals:
StackMap stack:
17: aload 10
ldc "text/json"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
goto 34
StackMap locals:
StackMap stack:
18: aload 10
ldc "text/*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
goto 34
StackMap locals:
StackMap stack:
19: aload 10
ldc "application/json"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
goto 34
StackMap locals:
StackMap stack:
20: aload 10
ldc "*/*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
goto 34
StackMap locals:
StackMap stack:
21: aload 10
ldc "text/plain"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 30
goto 34
22: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_HTML:Lorg/eclipse/jetty/http/MimeTypes$Type;
astore 9
start local 9 23: aload 7
ifnonnull 35
24: getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
astore 7
25: goto 35
end local 9 26: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_JSON:Lorg/eclipse/jetty/http/MimeTypes$Type;
astore 9
start local 9 27: aload 7
ifnonnull 35
28: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
astore 7
29: goto 35
end local 9 30: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_PLAIN:Lorg/eclipse/jetty/http/MimeTypes$Type;
astore 9
start local 9 31: aload 7
ifnonnull 35
32: getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
astore 7
33: goto 35
end local 9 34: StackMap locals:
StackMap stack:
return
start local 9 35: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse int java.lang.String java.lang.String java.nio.charset.Charset java.util.List org.eclipse.jetty.http.MimeTypes$Type
StackMap stack:
aload 1
invokevirtual org.eclipse.jetty.server.Request.getResponse:()Lorg/eclipse/jetty/server/Response;
invokevirtual org.eclipse.jetty.server.Response.getHttpOutput:()Lorg/eclipse/jetty/server/HttpOutput;
invokevirtual org.eclipse.jetty.server.HttpOutput.getBuffer:()Ljava/nio/ByteBuffer;
astore 11
start local 11 36: new org.eclipse.jetty.io.ByteBufferOutputStream
dup
aload 11
invokespecial org.eclipse.jetty.io.ByteBufferOutputStream.<init>:(Ljava/nio/ByteBuffer;)V
astore 12
start local 12 37: new java.io.PrintWriter
dup
new java.io.OutputStreamWriter
dup
aload 12
aload 7
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
astore 13
start local 13 38: invokestatic org.eclipse.jetty.server.handler.ErrorHandler.$SWITCH_TABLE$org$eclipse$jetty$http$MimeTypes$Type:()[I
aload 9
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
iaload
tableswitch { // 5 - 8
5: 39
6: 46
7: 50
8: 43
default: 50
}
39: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse int java.lang.String java.lang.String java.nio.charset.Charset java.util.List org.eclipse.jetty.http.MimeTypes$Type top java.nio.ByteBuffer org.eclipse.jetty.io.ByteBufferOutputStream java.io.PrintWriter
StackMap stack:
aload 3
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_HTML:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.asString:()Ljava/lang/String;
invokeinterface jakarta.servlet.http.HttpServletResponse.setContentType:(Ljava/lang/String;)V
40: aload 3
aload 7
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokeinterface jakarta.servlet.http.HttpServletResponse.setCharacterEncoding:(Ljava/lang/String;)V
41: aload 0
aload 2
aload 13
iload 4
aload 5
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.handleErrorPage:(Ljakarta/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;)V
42: goto 51
43: StackMap locals:
StackMap stack:
aload 3
aload 6
invokeinterface jakarta.servlet.http.HttpServletResponse.setContentType:(Ljava/lang/String;)V
44: aload 0
aload 2
aload 13
iload 4
aload 5
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.writeErrorJson:(Ljakarta/servlet/http/HttpServletRequest;Ljava/io/PrintWriter;ILjava/lang/String;)V
45: goto 51
46: StackMap locals:
StackMap stack:
aload 3
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_PLAIN:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.asString:()Ljava/lang/String;
invokeinterface jakarta.servlet.http.HttpServletResponse.setContentType:(Ljava/lang/String;)V
47: aload 3
aload 7
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokeinterface jakarta.servlet.http.HttpServletResponse.setCharacterEncoding:(Ljava/lang/String;)V
48: aload 0
aload 2
aload 13
iload 4
aload 5
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPlain:(Ljakarta/servlet/http/HttpServletRequest;Ljava/io/PrintWriter;ILjava/lang/String;)V
49: goto 51
50: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
51: StackMap locals:
StackMap stack:
aload 13
invokevirtual java.io.PrintWriter.flush:()V
52: goto 62
end local 13 end local 12 end local 11 53: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse int java.lang.String java.lang.String java.nio.charset.Charset java.util.List org.eclipse.jetty.http.MimeTypes$Type
StackMap stack: java.nio.BufferOverflowException
astore 11
start local 11 54: getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 56
55: getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/slf4j/Logger;
ldc "Error page too large: {} {} {}"
iconst_4
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 5
aastore
dup
iconst_2
aload 2
aastore
dup
iconst_3
aload 11
aastore
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
goto 57
56: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse int java.lang.String java.lang.String java.nio.charset.Charset java.util.List org.eclipse.jetty.http.MimeTypes$Type top java.nio.BufferOverflowException
StackMap stack:
getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/slf4j/Logger;
ldc "Error page too large: {} {} {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 5
aastore
dup
iconst_2
aload 2
aastore
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
57: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.eclipse.jetty.server.Request.getResponse:()Lorg/eclipse/jetty/server/Response;
invokevirtual org.eclipse.jetty.server.Response.resetContent:()V
58: aload 0
getfield org.eclipse.jetty.server.handler.ErrorHandler._disableStacks:Z
ifne 62
59: getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/slf4j/Logger;
ldc "Disabling showsStacks for {}"
aload 0
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;)V
60: aload 0
iconst_1
putfield org.eclipse.jetty.server.handler.ErrorHandler._disableStacks:Z
end local 11 61: goto 35
62: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse int java.lang.String java.lang.String java.nio.charset.Charset java.util.List org.eclipse.jetty.http.MimeTypes$Type
StackMap stack:
aload 1
invokevirtual org.eclipse.jetty.server.Request.getHttpChannel:()Lorg/eclipse/jetty/server/HttpChannel;
invokevirtual org.eclipse.jetty.server.HttpChannel.sendResponseAndComplete:()V
63: return
end local 9 end local 8 end local 7 end local 6 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 64 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 64 1 baseRequest Lorg/eclipse/jetty/server/Request;
0 64 2 request Ljakarta/servlet/http/HttpServletRequest;
0 64 3 response Ljakarta/servlet/http/HttpServletResponse;
0 64 4 code I
0 64 5 message Ljava/lang/String;
0 64 6 contentType Ljava/lang/String;
1 64 7 charset Ljava/nio/charset/Charset;
2 64 8 acceptable Ljava/util/List<Ljava/lang/String;>;
5 12 9 name Ljava/lang/String;
11 12 11 e Ljava/lang/Exception;
23 26 9 type Lorg/eclipse/jetty/http/MimeTypes$Type;
27 30 9 type Lorg/eclipse/jetty/http/MimeTypes$Type;
31 34 9 type Lorg/eclipse/jetty/http/MimeTypes$Type;
35 64 9 type Lorg/eclipse/jetty/http/MimeTypes$Type;
36 53 11 buffer Ljava/nio/ByteBuffer;
37 53 12 out Lorg/eclipse/jetty/io/ByteBufferOutputStream;
38 53 13 writer Ljava/io/PrintWriter;
54 61 11 e Ljava/nio/BufferOverflowException;
Exception table:
from to target type
8 9 10 Class java.lang.Exception
35 52 53 Class java.nio.BufferOverflowException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
baseRequest
request
response
code
message
contentType
protected void handleErrorPage(jakarta.servlet.http.HttpServletRequest, java.io.Writer, int, java.lang.String);
descriptor: (Ljakarta/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
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
aload 1
aload 2
iload 3
aload 4
aload 0
getfield org.eclipse.jetty.server.handler.ErrorHandler._showStacks:Z
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPage:(Ljakarta/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;Z)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 2 1 request Ljakarta/servlet/http/HttpServletRequest;
0 2 2 writer Ljava/io/Writer;
0 2 3 code I
0 2 4 message Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
writer
code
message
protected void writeErrorPage(jakarta.servlet.http.HttpServletRequest, java.io.Writer, int, java.lang.String, boolean);
descriptor: (Ljakarta/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 4
ifnonnull 2
1: iload 3
invokestatic org.eclipse.jetty.http.HttpStatus.getMessage:(I)Ljava/lang/String;
astore 4
2: StackMap locals:
StackMap stack:
aload 2
ldc "<html>\n<head>\n"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: aload 0
aload 1
aload 2
iload 3
aload 4
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageHead:(Ljakarta/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;)V
4: aload 2
ldc "</head>\n<body>"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
5: aload 0
aload 1
aload 2
iload 3
aload 4
iload 5
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageBody:(Ljakarta/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;Z)V
6: aload 2
ldc "\n</body>\n</html>\n"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
7: return
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 8 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 8 1 request Ljakarta/servlet/http/HttpServletRequest;
0 8 2 writer Ljava/io/Writer;
0 8 3 code I
0 8 4 message Ljava/lang/String;
0 8 5 showStacks Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
writer
code
message
showStacks
protected void writeErrorPageHead(jakarta.servlet.http.HttpServletRequest, java.io.Writer, int, java.lang.String);
descriptor: (Ljakarta/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
ldc "<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\"/>\n"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
1: aload 2
ldc "<title>Error "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
2: iload 3
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
astore 5
start local 5 3: aload 2
aload 5
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
4: aload 4
ifnull 7
aload 4
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
5: aload 2
bipush 32
invokevirtual java.io.Writer.write:(I)V
6: aload 2
aload 4
invokestatic org.eclipse.jetty.util.StringUtil.sanitizeXmlString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
7: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "</title>\n"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
8: return
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 9 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 9 1 request Ljakarta/servlet/http/HttpServletRequest;
0 9 2 writer Ljava/io/Writer;
0 9 3 code I
0 9 4 message Ljava/lang/String;
3 9 5 status Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
writer
code
message
protected void writeErrorPageBody(jakarta.servlet.http.HttpServletRequest, java.io.Writer, int, java.lang.String, boolean);
descriptor: (Ljakarta/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
invokeinterface jakarta.servlet.http.HttpServletRequest.getRequestURI:()Ljava/lang/String;
astore 6
start local 6 1: aload 0
aload 1
aload 2
iload 3
aload 4
aload 6
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageMessage:(Ljakarta/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;Ljava/lang/String;)V
2: iload 5
ifeq 4
aload 0
getfield org.eclipse.jetty.server.handler.ErrorHandler._disableStacks:Z
ifne 4
3: aload 0
aload 1
aload 2
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageStacks:(Ljakarta/servlet/http/HttpServletRequest;Ljava/io/Writer;)V
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic org.eclipse.jetty.server.Request.getBaseRequest:(Ljakarta/servlet/ServletRequest;)Lorg/eclipse/jetty/server/Request;
invokevirtual org.eclipse.jetty.server.Request.getHttpChannel:()Lorg/eclipse/jetty/server/HttpChannel;
invokevirtual org.eclipse.jetty.server.HttpChannel.getHttpConfiguration:()Lorg/eclipse/jetty/server/HttpConfiguration;
5: aload 2
ldc "<hr>"
ldc "<hr/>\n"
invokevirtual org.eclipse.jetty.server.HttpConfiguration.writePoweredBy:(Ljava/lang/Appendable;Ljava/lang/String;Ljava/lang/String;)V
6: return
end local 6 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 7 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 7 1 request Ljakarta/servlet/http/HttpServletRequest;
0 7 2 writer Ljava/io/Writer;
0 7 3 code I
0 7 4 message Ljava/lang/String;
0 7 5 showStacks Z
1 7 6 uri Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
writer
code
message
showStacks
protected void writeErrorPageMessage(jakarta.servlet.http.HttpServletRequest, java.io.Writer, int, java.lang.String, java.lang.String);
descriptor: (Ljakarta/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
ldc "<h2>HTTP ERROR "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
1: iload 3
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
astore 6
start local 6 2: aload 2
aload 6
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: aload 4
ifnull 6
aload 4
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
4: aload 2
bipush 32
invokevirtual java.io.Writer.write:(I)V
5: aload 2
aload 4
invokestatic org.eclipse.jetty.util.StringUtil.sanitizeXmlString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
6: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "</h2>\n"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
7: aload 2
ldc "<table>\n"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
8: aload 0
aload 2
ldc "URI"
aload 5
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.htmlRow:(Ljava/io/Writer;Ljava/lang/String;Ljava/lang/Object;)V
9: aload 0
aload 2
ldc "STATUS"
aload 6
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.htmlRow:(Ljava/io/Writer;Ljava/lang/String;Ljava/lang/Object;)V
10: aload 0
aload 2
ldc "MESSAGE"
aload 4
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.htmlRow:(Ljava/io/Writer;Ljava/lang/String;Ljava/lang/Object;)V
11: aload 0
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.isShowServlet:()Z
ifeq 13
12: aload 0
aload 2
ldc "SERVLET"
aload 1
ldc "jakarta.servlet.error.servlet_name"
invokeinterface jakarta.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.htmlRow:(Ljava/io/Writer;Ljava/lang/String;Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
aload 1
ldc "jakarta.servlet.error.exception"
invokeinterface jakarta.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Throwable
astore 7
start local 7 14: goto 17
15: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
aload 2
ldc "CAUSED BY"
aload 7
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.htmlRow:(Ljava/io/Writer;Ljava/lang/String;Ljava/lang/Object;)V
16: aload 7
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 7
17: StackMap locals:
StackMap stack:
aload 7
ifnonnull 15
18: aload 2
ldc "</table>\n"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
19: return
end local 7 end local 6 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 20 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 20 1 request Ljakarta/servlet/http/HttpServletRequest;
0 20 2 writer Ljava/io/Writer;
0 20 3 code I
0 20 4 message Ljava/lang/String;
0 20 5 uri Ljava/lang/String;
2 20 6 status Ljava/lang/String;
14 20 7 cause Ljava/lang/Throwable;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
writer
code
message
uri
private void htmlRow(java.io.Writer, java.lang.String, java.lang.Object);
descriptor: (Ljava/io/Writer;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ldc "<tr><th>"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
1: aload 1
aload 2
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
2: aload 1
ldc ":</th><td>"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: aload 3
ifnonnull 5
4: aload 1
ldc "-"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
goto 6
5: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic org.eclipse.jetty.util.StringUtil.sanitizeXmlString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 1
ldc "</td></tr>\n"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 8 1 writer Ljava/io/Writer;
0 8 2 tag Ljava/lang/String;
0 8 3 value Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writer
tag
value
private void writeErrorPlain(jakarta.servlet.http.HttpServletRequest, java.io.PrintWriter, int, java.lang.String);
descriptor: (Ljakarta/servlet/http/HttpServletRequest;Ljava/io/PrintWriter;ILjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
ldc "HTTP ERROR "
invokevirtual java.io.PrintWriter.write:(Ljava/lang/String;)V
1: aload 2
iload 3
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.io.PrintWriter.write:(Ljava/lang/String;)V
2: aload 2
bipush 32
invokevirtual java.io.PrintWriter.write:(I)V
3: aload 2
aload 4
invokestatic org.eclipse.jetty.util.StringUtil.sanitizeXmlString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.write:(Ljava/lang/String;)V
4: aload 2
ldc "\n"
invokevirtual java.io.PrintWriter.write:(Ljava/lang/String;)V
5: aload 2
ldc "URI: %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface jakarta.servlet.http.HttpServletRequest.getRequestURI:()Ljava/lang/String;
aastore
invokevirtual java.io.PrintWriter.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
6: aload 2
ldc "STATUS: %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual java.io.PrintWriter.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
7: aload 2
ldc "MESSAGE: %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual java.io.PrintWriter.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
8: aload 0
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.isShowServlet:()Z
ifeq 10
9: aload 2
ldc "SERVLET: %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
ldc "jakarta.servlet.error.servlet_name"
invokeinterface jakarta.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
aastore
invokevirtual java.io.PrintWriter.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
10: StackMap locals:
StackMap stack:
aload 1
ldc "jakarta.servlet.error.exception"
invokeinterface jakarta.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Throwable
astore 5
start local 5 11: goto 16
12: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
ldc "CAUSED BY %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokevirtual java.io.PrintWriter.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
13: aload 0
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.isShowStacks:()Z
ifeq 15
aload 0
getfield org.eclipse.jetty.server.handler.ErrorHandler._disableStacks:Z
ifne 15
14: aload 5
aload 2
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintWriter;)V
15: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 5
16: StackMap locals:
StackMap stack:
aload 5
ifnonnull 12
17: return
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 18 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 18 1 request Ljakarta/servlet/http/HttpServletRequest;
0 18 2 writer Ljava/io/PrintWriter;
0 18 3 code I
0 18 4 message Ljava/lang/String;
11 18 5 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
request
writer
code
message
private void writeErrorJson(jakarta.servlet.http.HttpServletRequest, java.io.PrintWriter, int, java.lang.String);
descriptor: (Ljakarta/servlet/http/HttpServletRequest;Ljava/io/PrintWriter;ILjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ldc "jakarta.servlet.error.exception"
invokeinterface jakarta.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Throwable
astore 5
start local 5 1: aload 1
ldc "jakarta.servlet.error.servlet_name"
invokeinterface jakarta.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
astore 6
start local 6 2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 7
start local 7 3: aload 7
ldc "url"
aload 1
invokeinterface jakarta.servlet.http.HttpServletRequest.getRequestURI:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 7
ldc "status"
iload 3
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 7
ldc "message"
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.isShowServlet:()Z
ifeq 8
aload 6
ifnull 8
7: aload 7
ldc "servlet"
aload 6
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: StackMap locals: java.lang.Throwable java.lang.Object java.util.Map
StackMap stack:
iconst_0
istore 8
start local 8 9: goto 12
10: StackMap locals: int
StackMap stack:
aload 7
new java.lang.StringBuilder
dup
ldc "cause"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 8
iinc 8 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 5
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 5
12: StackMap locals:
StackMap stack:
aload 5
ifnonnull 10
13: aload 2
aload 7
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
14: invokedynamic apply()Ljava/util/function/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;
org/eclipse/jetty/server/handler/ErrorHandler.lambda$0(Ljava/util/Map$Entry;)Ljava/lang/String; (6)
(Ljava/util/Map$Entry;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
15: ldc ",\n"
ldc "{\n"
ldc "\n}"
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.CharSequence
16: invokevirtual java.io.PrintWriter.append:(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
pop
17: return
end local 8 end local 7 end local 6 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 18 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 18 1 request Ljakarta/servlet/http/HttpServletRequest;
0 18 2 writer Ljava/io/PrintWriter;
0 18 3 code I
0 18 4 message Ljava/lang/String;
1 18 5 cause Ljava/lang/Throwable;
2 18 6 servlet Ljava/lang/Object;
3 18 7 json Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
9 18 8 c I
MethodParameters:
Name Flags
request
writer
code
message
protected void writeErrorPageStacks(jakarta.servlet.http.HttpServletRequest, java.io.Writer);
descriptor: (Ljakarta/servlet/http/HttpServletRequest;Ljava/io/Writer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "jakarta.servlet.error.exception"
invokeinterface jakarta.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Throwable
astore 3
start local 3 1: aload 3
ifnull 21
2: aload 2
ldc "<h3>Caused by:</h3><pre>"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: aconst_null
astore 4
aconst_null
astore 5
4: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 6
start local 6 5: new java.io.PrintWriter
dup
aload 6
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
astore 7
start local 7 6: aload 3
aload 7
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintWriter;)V
7: aload 7
invokevirtual java.io.PrintWriter.flush:()V
8: aload 0
aload 2
aload 6
invokevirtual java.io.StringWriter.getBuffer:()Ljava/lang/StringBuffer;
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.write:(Ljava/io/Writer;Ljava/lang/String;)V
9: aload 7
ifnull 12
aload 7
invokevirtual java.io.PrintWriter.close:()V
goto 12
StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler jakarta.servlet.http.HttpServletRequest java.io.Writer java.lang.Throwable java.lang.Throwable java.lang.Throwable java.io.StringWriter java.io.PrintWriter
StackMap stack: java.lang.Throwable
10: astore 4
aload 7
ifnull 11
aload 7
invokevirtual java.io.PrintWriter.close:()V
end local 7 StackMap locals:
StackMap stack:
11: aload 4
athrow
StackMap locals:
StackMap stack:
12: aload 6
ifnull 20
aload 6
invokevirtual java.io.StringWriter.close:()V
goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 5
aload 4
ifnonnull 14
aload 5
astore 4
goto 15
StackMap locals:
StackMap stack:
14: aload 4
aload 5
if_acmpeq 15
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 6
ifnull 16
aload 6
invokevirtual java.io.StringWriter.close:()V
end local 6 StackMap locals:
StackMap stack:
16: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 5
aload 4
ifnonnull 18
aload 5
astore 4
goto 19
StackMap locals:
StackMap stack:
18: aload 4
aload 5
if_acmpeq 19
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 4
athrow
20: StackMap locals:
StackMap stack:
aload 2
ldc "</pre>\n"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 22 1 request Ljakarta/servlet/http/HttpServletRequest;
0 22 2 writer Ljava/io/Writer;
1 22 3 th Ljava/lang/Throwable;
5 16 6 sw Ljava/io/StringWriter;
6 11 7 pw Ljava/io/PrintWriter;
Exception table:
from to target type
6 9 10 any
5 12 13 any
4 17 17 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
writer
public java.nio.ByteBuffer badMessageError(int, java.lang.String, org.eclipse.jetty.http.HttpFields$Mutable);
descriptor: (ILjava/lang/String;Lorg/eclipse/jetty/http/HttpFields$Mutable;)Ljava/nio/ByteBuffer;
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 2
ifnonnull 2
1: iload 1
invokestatic org.eclipse.jetty.http.HttpStatus.getMessage:(I)Ljava/lang/String;
astore 2
2: StackMap locals:
StackMap stack:
iload 1
invokestatic org.eclipse.jetty.http.HttpStatus.hasNoBody:(I)Z
ifeq 4
3: getstatic org.eclipse.jetty.util.BufferUtil.EMPTY_BUFFER:Ljava/nio/ByteBuffer;
areturn
4: StackMap locals:
StackMap stack:
aload 3
getstatic org.eclipse.jetty.http.HttpHeader.CONTENT_TYPE:Lorg/eclipse/jetty/http/HttpHeader;
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_HTML_8859_1:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.asString:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.http.HttpFields$Mutable.put:(Lorg/eclipse/jetty/http/HttpHeader;Ljava/lang/String;)Lorg/eclipse/jetty/http/HttpFields$Mutable;
pop
5: new java.lang.StringBuilder
dup
ldc "<h1>Bad Message "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "</h1><pre>reason: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "</pre>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.eclipse.jetty.util.BufferUtil.toBuffer:(Ljava/lang/String;)Ljava/nio/ByteBuffer;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 6 1 status I
0 6 2 reason Ljava/lang/String;
0 6 3 fields Lorg/eclipse/jetty/http/HttpFields$Mutable;
MethodParameters:
Name Flags
status
reason
fields
public java.lang.String getCacheControl();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ErrorHandler._cacheControl:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
public void setCacheControl(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jetty.server.handler.ErrorHandler._cacheControl:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 2 1 cacheControl Ljava/lang/String;
MethodParameters:
Name Flags
cacheControl
public boolean isShowServlet();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ErrorHandler._showServlet:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
public void setShowServlet(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.eclipse.jetty.server.handler.ErrorHandler._showServlet:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 2 1 showServlet Z
MethodParameters:
Name Flags
showServlet
public boolean isShowStacks();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ErrorHandler._showStacks:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
public void setShowStacks(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.eclipse.jetty.server.handler.ErrorHandler._showStacks:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 2 1 showStacks Z
MethodParameters:
Name Flags
showStacks
public void setShowMessageInTitle(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.eclipse.jetty.server.handler.ErrorHandler._showMessageInTitle:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 2 1 showMessageInTitle Z
MethodParameters:
Name Flags
showMessageInTitle
public boolean getShowMessageInTitle();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ErrorHandler._showMessageInTitle:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
protected void write(java.io.Writer, java.lang.String);
descriptor: (Ljava/io/Writer;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
aload 2
invokestatic org.eclipse.jetty.util.StringUtil.sanitizeXmlString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 4 1 writer Ljava/io/Writer;
0 4 2 string Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writer
string
public static org.eclipse.jetty.server.handler.ErrorHandler getErrorHandler(org.eclipse.jetty.server.Server, org.eclipse.jetty.server.handler.ContextHandler);
descriptor: (Lorg/eclipse/jetty/server/Server;Lorg/eclipse/jetty/server/handler/ContextHandler;)Lorg/eclipse/jetty/server/handler/ErrorHandler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ifnull 3
2: aload 1
invokevirtual org.eclipse.jetty.server.handler.ContextHandler.getErrorHandler:()Lorg/eclipse/jetty/server/handler/ErrorHandler;
astore 2
3: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler
StackMap stack:
aload 2
ifnonnull 5
aload 0
ifnull 5
4: aload 0
ldc Lorg/eclipse/jetty/server/handler/ErrorHandler;
invokevirtual org.eclipse.jetty.server.Server.getBean:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.ErrorHandler
astore 2
5: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 server Lorg/eclipse/jetty/server/Server;
0 6 1 context Lorg/eclipse/jetty/server/handler/ContextHandler;
1 6 2 errorHandler Lorg/eclipse/jetty/server/handler/ErrorHandler;
MethodParameters:
Name Flags
server
context
static int[] $SWITCH_TABLE$org$eclipse$jetty$http$MimeTypes$Type();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jetty.server.handler.ErrorHandler.$SWITCH_TABLE$org$eclipse$jetty$http$MimeTypes$Type:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jetty.http.MimeTypes$Type.values:()[Lorg/eclipse/jetty/http/MimeTypes$Type;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.APPLICATION_JSON:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 9
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.APPLICATION_JSON_8859_1:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 18
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.APPLICATION_JSON_UTF_8:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 19
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.FORM_ENCODED:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.MESSAGE_HTTP:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.MULTIPART_BYTERANGES:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
iconst_3
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.MULTIPART_FORM_DATA:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
iconst_4
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_HTML:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
iconst_5
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_HTML_8859_1:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 10
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_HTML_UTF_8:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 11
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_JSON:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 8
iastore
33: goto 35
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
34: pop
StackMap locals:
StackMap stack:
35: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_JSON_8859_1:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 16
iastore
36: goto 38
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
37: pop
StackMap locals:
StackMap stack:
38: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_JSON_UTF_8:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 17
iastore
39: goto 41
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
40: pop
StackMap locals:
StackMap stack:
41: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_PLAIN:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 6
iastore
42: goto 44
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
43: pop
StackMap locals:
StackMap stack:
44: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_PLAIN_8859_1:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 12
iastore
45: goto 47
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
46: pop
StackMap locals:
StackMap stack:
47: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_PLAIN_UTF_8:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 13
iastore
48: goto 50
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
49: pop
StackMap locals:
StackMap stack:
50: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_XML:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 7
iastore
51: goto 53
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
52: pop
StackMap locals:
StackMap stack:
53: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_XML_8859_1:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 14
iastore
54: goto 56
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
55: pop
StackMap locals:
StackMap stack:
56: aload 0
getstatic org.eclipse.jetty.http.MimeTypes$Type.TEXT_XML_UTF_8:Lorg/eclipse/jetty/http/MimeTypes$Type;
invokevirtual org.eclipse.jetty.http.MimeTypes$Type.ordinal:()I
bipush 15
iastore
57: goto 59
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
58: pop
StackMap locals:
StackMap stack:
59: aload 0
dup
putstatic org.eclipse.jetty.server.handler.ErrorHandler.$SWITCH_TABLE$org$eclipse$jetty$http$MimeTypes$Type:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
32 33 34 Class java.lang.NoSuchFieldError
35 36 37 Class java.lang.NoSuchFieldError
38 39 40 Class java.lang.NoSuchFieldError
41 42 43 Class java.lang.NoSuchFieldError
44 45 46 Class java.lang.NoSuchFieldError
47 48 49 Class java.lang.NoSuchFieldError
50 51 52 Class java.lang.NoSuchFieldError
53 54 55 Class java.lang.NoSuchFieldError
56 57 58 Class java.lang.NoSuchFieldError
private static java.lang.String lambda$0(java.util.Map$Entry);
descriptor: (Ljava/util/Map$Entry;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.eclipse.jetty.util.QuotedStringTokenizer.quote:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 0
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.eclipse.jetty.util.StringUtil.sanitizeXmlString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic org.eclipse.jetty.util.QuotedStringTokenizer.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
}
SourceFile: "ErrorHandler.java"
NestMembers:
org.eclipse.jetty.server.handler.ErrorHandler$ErrorPageMapper
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
public Mutable = org.eclipse.jetty.http.HttpFields$Mutable of org.eclipse.jetty.http.HttpFields
public final Type = org.eclipse.jetty.http.MimeTypes$Type of org.eclipse.jetty.http.MimeTypes
public Context = org.eclipse.jetty.server.handler.ContextHandler$Context of org.eclipse.jetty.server.handler.ContextHandler
public abstract ErrorPageMapper = org.eclipse.jetty.server.handler.ErrorHandler$ErrorPageMapper of org.eclipse.jetty.server.handler.ErrorHandler