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.eclipse.jetty.util.log.Logger LOG;
descriptor: Lorg/eclipse/jetty/util/log/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"
boolean _showStacks;
descriptor: Z
flags: (0x0000)
boolean _showMessageInTitle;
descriptor: Z
flags: (0x0000)
java.lang.String _cacheControl;
descriptor: Ljava/lang/String;
flags: (0x0000)
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.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/eclipse/jetty/util/log/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._showStacks:Z
2: aload 0
iconst_1
putfield org.eclipse.jetty.server.handler.ErrorHandler._showMessageInTitle:Z
3: aload 0
ldc "must-revalidate,no-cache,no-store"
putfield org.eclipse.jetty.server.handler.ErrorHandler._cacheControl:Ljava/lang/String;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
public void handle(java.lang.String, org.eclipse.jetty.server.Request, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse);
descriptor: (Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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
aload 3
aload 4
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.doError:(Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)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 target Ljava/lang/String;
0 2 2 baseRequest Lorg/eclipse/jetty/server/Request;
0 2 3 request Ljavax/servlet/http/HttpServletRequest;
0 2 4 response Ljavax/servlet/http/HttpServletResponse;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
baseRequest
request
response
public void doError(java.lang.String, org.eclipse.jetty.server.Request, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse);
descriptor: (Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/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 3
invokeinterface javax.servlet.http.HttpServletRequest.getMethod:()Ljava/lang/String;
astore 5
start local 5 1: getstatic org.eclipse.jetty.http.HttpMethod.GET:Lorg/eclipse/jetty/http/HttpMethod;
aload 5
invokevirtual org.eclipse.jetty.http.HttpMethod.is:(Ljava/lang/String;)Z
ifne 4
getstatic org.eclipse.jetty.http.HttpMethod.POST:Lorg/eclipse/jetty/http/HttpMethod;
aload 5
invokevirtual org.eclipse.jetty.http.HttpMethod.is:(Ljava/lang/String;)Z
ifne 4
getstatic org.eclipse.jetty.http.HttpMethod.HEAD:Lorg/eclipse/jetty/http/HttpMethod;
aload 5
invokevirtual org.eclipse.jetty.http.HttpMethod.is:(Ljava/lang/String;)Z
ifne 4
2: aload 2
iconst_1
invokevirtual org.eclipse.jetty.server.Request.setHandled:(Z)V
3: return
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
instanceof org.eclipse.jetty.server.handler.ErrorHandler$ErrorPageMapper
ifeq 31
5: aload 0
checkcast org.eclipse.jetty.server.handler.ErrorHandler$ErrorPageMapper
aload 3
invokeinterface org.eclipse.jetty.server.handler.ErrorHandler$ErrorPageMapper.getErrorPage:(Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String;
astore 6
start local 6 6: aload 6
ifnull 29
7: aload 3
ldc "org.eclipse.jetty.server.error_page"
invokeinterface javax.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 8: aload 3
invokeinterface javax.servlet.http.HttpServletRequest.getServletContext:()Ljavax/servlet/ServletContext;
astore 8
start local 8 9: aload 8
ifnonnull 11
10: invokestatic org.eclipse.jetty.server.handler.ContextHandler.getCurrentContext:()Lorg/eclipse/jetty/server/handler/ContextHandler$Context;
astore 8
11: StackMap locals: java.lang.String java.lang.String javax.servlet.ServletContext
StackMap stack:
aload 8
ifnonnull 14
12: getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "No ServletContext for error page {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
13: goto 31
14: StackMap locals:
StackMap stack:
aload 7
ifnull 17
aload 7
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Error page loop {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
16: goto 31
17: StackMap locals:
StackMap stack:
aload 3
ldc "org.eclipse.jetty.server.error_page"
aload 6
invokeinterface javax.servlet.http.HttpServletRequest.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
18: aload 8
aload 6
invokeinterface javax.servlet.ServletContext.getRequestDispatcher:(Ljava/lang/String;)Ljavax/servlet/RequestDispatcher;
checkcast org.eclipse.jetty.server.Dispatcher
astore 9
start local 9 19: getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 21
20: getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "error page dispatch {}->{}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
aload 9
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
21: StackMap locals: org.eclipse.jetty.server.Dispatcher
StackMap stack:
aload 9
ifnull 24
22: aload 9
aload 3
aload 4
invokevirtual org.eclipse.jetty.server.Dispatcher.error:(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
23: return
24: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
new java.lang.StringBuilder
dup
ldc "No error page found "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
25: goto 31
26: StackMap locals:
StackMap stack: javax.servlet.ServletException
astore 10
start local 10 27: getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "EXCEPTION "
aload 10
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
28: return
end local 10 end local 9 end local 8 end local 7 29: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 31
30: getstatic org.eclipse.jetty.server.handler.ErrorHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "No Error Page mapping for request({} {}) (using default)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
invokeinterface javax.servlet.http.HttpServletRequest.getMethod:()Ljava/lang/String;
aastore
dup
iconst_1
aload 3
invokeinterface javax.servlet.http.HttpServletRequest.getRequestURI:()Ljava/lang/String;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 6 31: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.ErrorHandler._cacheControl:Ljava/lang/String;
ifnull 33
32: 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 0
getfield org.eclipse.jetty.server.handler.ErrorHandler._cacheControl:Ljava/lang/String;
invokeinterface javax.servlet.http.HttpServletResponse.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
33: StackMap locals:
StackMap stack:
aload 3
ldc "javax.servlet.error.message"
invokeinterface javax.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 34: aload 6
ifnonnull 36
35: 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 6
36: StackMap locals: java.lang.String
StackMap stack:
aload 6
ifnonnull 38
37: aload 4
invokeinterface javax.servlet.http.HttpServletResponse.getStatus:()I
invokestatic org.eclipse.jetty.http.HttpStatus.getMessage:(I)Ljava/lang/String;
astore 6
38: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
aload 4
aload 4
invokeinterface javax.servlet.http.HttpServletResponse.getStatus:()I
aload 6
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.generateAcceptableResponse:(Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;ILjava/lang/String;)V
39: 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 40 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 40 1 target Ljava/lang/String;
0 40 2 baseRequest Lorg/eclipse/jetty/server/Request;
0 40 3 request Ljavax/servlet/http/HttpServletRequest;
0 40 4 response Ljavax/servlet/http/HttpServletResponse;
1 40 5 method Ljava/lang/String;
6 31 6 errorPage Ljava/lang/String;
8 29 7 oldErrorPage Ljava/lang/String;
9 29 8 servletContext Ljavax/servlet/ServletContext;
19 29 9 dispatcher Lorg/eclipse/jetty/server/Dispatcher;
27 29 10 e Ljavax/servlet/ServletException;
34 40 6 message Ljava/lang/String;
Exception table:
from to target type
19 23 26 Class javax.servlet.ServletException
24 25 26 Class javax.servlet.ServletException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
baseRequest
request
response
protected void generateAcceptableResponse(org.eclipse.jetty.server.Request, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, int, java.lang.String);
descriptor: (Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/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;
invokevirtual 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;
invokevirtual 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;Ljavax/servlet/http/HttpServletRequest;Ljavax/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 javax.servlet.http.HttpServletRequest javax.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;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;ILjava/lang/String;Ljava/lang/String;)V
7: aload 1
invokevirtual org.eclipse.jetty.server.Request.isHandled:()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 javax.servlet.http.HttpServletRequest javax.servlet.http.HttpServletResponse int java.lang.String java.util.List
StackMap stack:
aload 1
iconst_1
invokevirtual org.eclipse.jetty.server.Request.setHandled:(Z)V
11: aload 1
invokevirtual org.eclipse.jetty.server.Request.getResponse:()Lorg/eclipse/jetty/server/Response;
invokevirtual org.eclipse.jetty.server.Response.closeOutput:()V
12: 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 13 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 13 1 baseRequest Lorg/eclipse/jetty/server/Request;
0 13 2 request Ljavax/servlet/http/HttpServletRequest;
0 13 3 response Ljavax/servlet/http/HttpServletResponse;
0 13 4 code I
0 13 5 message Ljava/lang/String;
1 13 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 void generateAcceptableResponse(org.eclipse.jetty.server.Request, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, int, java.lang.String, java.lang.String);
descriptor: (Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;ILjava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=9, 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: aload 6
dup
astore 7
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 3
-1082243251: 1
-877022264: 2
41861: 3
default: 10
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 7
ldc "text/html"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 10
StackMap locals:
StackMap stack:
2: aload 7
ldc "text/*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 10
StackMap locals:
StackMap stack:
3: aload 7
ldc "*/*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 10
4: StackMap locals:
StackMap stack:
aload 1
iconst_1
invokevirtual org.eclipse.jetty.server.Request.setHandled:(Z)V
5: aload 0
aload 1
aload 2
aload 3
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.getAcceptableWriter:(Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/io/Writer;
astore 8
start local 8 6: aload 8
ifnull 10
7: 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 javax.servlet.http.HttpServletResponse.setContentType:(Ljava/lang/String;)V
8: aload 0
aload 2
aload 8
iload 4
aload 5
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.handleErrorPage:(Ljavax/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;)V
9: goto 10
end local 8 10: StackMap locals:
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 Ljavax/servlet/http/HttpServletRequest;
0 11 3 response Ljavax/servlet/http/HttpServletResponse;
0 11 4 code I
0 11 5 message Ljava/lang/String;
0 11 6 mimeType Ljava/lang/String;
6 10 8 writer Ljava/io/Writer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
baseRequest
request
response
code
message
mimeType
protected java.io.Writer getAcceptableWriter(org.eclipse.jetty.server.Request, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse);
descriptor: (Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/io/Writer;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, 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;
invokevirtual 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 javax.servlet.http.HttpServletResponse.setCharacterEncoding:(Ljava/lang/String;)V
3: aload 3
invokeinterface javax.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 javax.servlet.http.HttpServletRequest javax.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 javax.servlet.http.HttpServletResponse.setCharacterEncoding:(Ljava/lang/String;)V
goto 9
8: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request javax.servlet.http.HttpServletRequest javax.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 javax.servlet.http.HttpServletResponse.setCharacterEncoding:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 3
invokeinterface javax.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/eclipse/jetty/util/log/Logger;
aload 7
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(Ljava/lang/Throwable;)V
end local 7 end local 5 13: StackMap locals: org.eclipse.jetty.server.handler.ErrorHandler org.eclipse.jetty.server.Request javax.servlet.http.HttpServletRequest javax.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 Ljavax/servlet/http/HttpServletRequest;
0 15 3 response Ljavax/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
MethodParameters:
Name Flags
baseRequest
request
response
protected void handleErrorPage(javax.servlet.http.HttpServletRequest, java.io.Writer, int, java.lang.String);
descriptor: (Ljavax/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:(Ljavax/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 Ljavax/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(javax.servlet.http.HttpServletRequest, java.io.Writer, int, java.lang.String, boolean);
descriptor: (Ljavax/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:(Ljavax/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:(Ljavax/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 Ljavax/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(javax.servlet.http.HttpServletRequest, java.io.Writer, int, java.lang.String);
descriptor: (Ljavax/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, 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: aload 2
iload 3
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: aload 0
getfield org.eclipse.jetty.server.handler.ErrorHandler._showMessageInTitle:Z
ifeq 6
4: aload 2
bipush 32
invokevirtual java.io.Writer.write:(I)V
5: aload 0
aload 2
aload 4
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.write:(Ljava/io/Writer;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 2
ldc "</title>\n"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
7: return
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 Ljavax/servlet/http/HttpServletRequest;
0 8 2 writer Ljava/io/Writer;
0 8 3 code I
0 8 4 message Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
writer
code
message
protected void writeErrorPageBody(javax.servlet.http.HttpServletRequest, java.io.Writer, int, java.lang.String, boolean);
descriptor: (Ljavax/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 javax.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:(Ljavax/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;Ljava/lang/String;)V
2: iload 5
ifeq 4
3: aload 0
aload 1
aload 2
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageStacks:(Ljavax/servlet/http/HttpServletRequest;Ljava/io/Writer;)V
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic org.eclipse.jetty.server.Request.getBaseRequest:(Ljavax/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 Ljavax/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(javax.servlet.http.HttpServletRequest, java.io.Writer, int, java.lang.String, java.lang.String);
descriptor: (Ljavax/servlet/http/HttpServletRequest;Ljava/io/Writer;ILjava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, 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 2
ldc "<h2>HTTP ERROR "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
1: aload 2
iload 3
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
2: aload 2
ldc "</h2>\n<p>Problem accessing "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: aload 0
aload 2
aload 5
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.write:(Ljava/io/Writer;Ljava/lang/String;)V
4: aload 2
ldc ". Reason:\n<pre> "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
5: aload 0
aload 2
aload 4
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.write:(Ljava/io/Writer;Ljava/lang/String;)V
6: aload 2
ldc "</pre></p>"
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 Ljavax/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 uri Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
writer
code
message
uri
protected void writeErrorPageStacks(javax.servlet.http.HttpServletRequest, java.io.Writer);
descriptor: (Ljavax/servlet/http/HttpServletRequest;Ljava/io/Writer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "javax.servlet.error.exception"
invokeinterface javax.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Throwable
astore 3
start local 3 1: goto 10
2: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
ldc "<h3>Caused by:</h3><pre>"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 4
start local 4 4: new java.io.PrintWriter
dup
aload 4
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
astore 5
start local 5 5: aload 3
aload 5
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintWriter;)V
6: aload 5
invokevirtual java.io.PrintWriter.flush:()V
7: aload 0
aload 2
aload 4
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
8: aload 2
ldc "</pre>\n"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
9: aload 3
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 3
end local 5 end local 4 10: StackMap locals:
StackMap stack:
aload 3
ifnonnull 2
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 12 1 request Ljavax/servlet/http/HttpServletRequest;
0 12 2 writer Ljava/io/Writer;
1 12 3 th Ljava/lang/Throwable;
4 10 4 sw Ljava/io/StringWriter;
5 10 5 pw Ljava/io/PrintWriter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
writer
public java.nio.ByteBuffer badMessageError(int, java.lang.String, org.eclipse.jetty.http.HttpFields);
descriptor: (ILjava/lang/String;Lorg/eclipse/jetty/http/HttpFields;)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:
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.put:(Lorg/eclipse/jetty/http/HttpHeader;Ljava/lang/String;)V
3: 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 4 0 this Lorg/eclipse/jetty/server/handler/ErrorHandler;
0 4 1 status I
0 4 2 reason Ljava/lang/String;
0 4 3 fields Lorg/eclipse/jetty/http/HttpFields;
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 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
}
SourceFile: "ErrorHandler.java"
NestMembers:
org.eclipse.jetty.server.handler.ErrorHandler$ErrorPageMapper
InnerClasses:
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