public class org.glassfish.grizzly.http.server.accesslog.StreamAppender implements org.glassfish.grizzly.http.server.accesslog.AccessLogAppender
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.server.accesslog.StreamAppender
super_class: java.lang.Object
{
private static final java.lang.String LINE_SEPARATOR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.io.Writer writer;
descriptor: Ljava/io/Writer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "line.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic org.glassfish.grizzly.http.server.accesslog.StreamAppender.LINE_SEPARATOR:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.io.OutputStreamWriter
dup
aload 1
ldc "UTF-8"
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
putfield org.glassfish.grizzly.http.server.accesslog.StreamAppender.writer:Ljava/io/Writer;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/accesslog/StreamAppender;
0 3 1 output Ljava/io/OutputStream;
MethodParameters:
Name Flags
output
public void append(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.StreamAppender.writer:Ljava/io/Writer;
aload 1
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
2: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.StreamAppender.writer:Ljava/io/Writer;
getstatic org.glassfish.grizzly.http.server.accesslog.StreamAppender.LINE_SEPARATOR:Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.StreamAppender.writer:Ljava/io/Writer;
invokevirtual java.io.Writer.flush:()V
4: aload 2
monitorexit
5: goto 8
StackMap locals: org.glassfish.grizzly.http.server.accesslog.StreamAppender java.lang.String org.glassfish.grizzly.http.server.accesslog.StreamAppender
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http/server/accesslog/StreamAppender;
0 9 1 accessLogEntry Ljava/lang/String;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
accessLogEntry
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.StreamAppender.writer:Ljava/io/Writer;
invokevirtual java.io.Writer.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/accesslog/StreamAppender;
Exceptions:
throws java.io.IOException
}
SourceFile: "StreamAppender.java"