class org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl extends org.glassfish.grizzly.servlet.HttpServletResponseImpl
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl
  super_class: org.glassfish.grizzly.servlet.HttpServletResponseImpl
{
  private java.io.PrintWriter writer;
    descriptor: Ljava/io/PrintWriter;
    flags: (0x0002) ACC_PRIVATE

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl this
         0: .line 250
            aload 0 /* this */
            invokespecial org.glassfish.grizzly.servlet.HttpServletResponseImpl.<init>:()V
            return
        end local 0 // org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletResponseImpl;

  public java.io.PrintWriter getWriter();
    descriptor: ()Ljava/io/PrintWriter;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl this
         0: .line 255
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl.usingOutputStream:Z
            ifeq 2
         1: .line 256
            new java.lang.IllegalStateException
            dup
            ldc "Illegal attempt to call getWriter() after getOutputStream has already been called."
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 259
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl.usingWriter:Z
         3: .line 260
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl.writer:Ljava/io/PrintWriter;
            ifnonnull 5
         4: .line 261
            aload 0 /* this */
            new java.io.PrintWriter
            dup
            getstatic org.glassfish.grizzly.websockets.Utils.NULL_WRITER:Ljava/io/Writer;
            invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
            putfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl.writer:Ljava/io/PrintWriter;
         5: .line 264
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl.writer:Ljava/io/PrintWriter;
            areturn
        end local 0 // org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletResponseImpl;
    Exceptions:
      throws java.io.IOException

  public jakarta.servlet.ServletOutputStream getOutputStream();
    descriptor: ()Ljakarta/servlet/ServletOutputStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl this
         0: .line 269
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl.usingWriter:Z
            ifeq 2
         1: .line 270
            new java.lang.IllegalStateException
            dup
            ldc "Illegal attempt to call getOutputStream() after getWriter() has already been called."
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 273
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl.usingOutputStream:Z
         3: .line 274
            getstatic org.glassfish.grizzly.websockets.Utils.NULL_SERVLET_OUTPUT_STREAM:Ljakarta/servlet/ServletOutputStream;
            areturn
        end local 0 // org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletResponseImpl;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "DefaultWebSocket.java"
NestHost: org.glassfish.grizzly.websockets.DefaultWebSocket
InnerClasses:
  private WSServletResponseImpl = org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl of org.glassfish.grizzly.websockets.DefaultWebSocket