public interface org.glassfish.grizzly.websockets.WebSocket
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: org.glassfish.grizzly.websockets.WebSocket
super_class: java.lang.Object
{
public static final int NORMAL_CLOSURE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1000
public static final int END_POINT_GOING_DOWN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1001
public static final int PROTOCOL_ERROR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1002
public static final int INVALID_DATA;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1003
public static final int MESSAGE_TOO_LARGE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1004
public static final int NO_STATUS_CODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1005
public static final int ABNORMAL_CLOSE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1006
public abstract org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> send(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
MethodParameters:
Name Flags
data
public abstract org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> send(byte[]);
descriptor: ([B)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ([B)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
MethodParameters:
Name Flags
data
public abstract void broadcast(java.lang.Iterable<? extends org.glassfish.grizzly.websockets.WebSocket>, java.lang.String);
descriptor: (Ljava/lang/Iterable;Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/lang/Iterable<+Lorg/glassfish/grizzly/websockets/WebSocket;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
recipients final
data
public abstract void broadcast(java.lang.Iterable<? extends org.glassfish.grizzly.websockets.WebSocket>, );
descriptor: (Ljava/lang/Iterable;[B)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/lang/Iterable<+Lorg/glassfish/grizzly/websockets/WebSocket;>;[B)V
MethodParameters:
Name Flags
recipients final
data
public abstract void broadcastFragment(java.lang.Iterable<? extends org.glassfish.grizzly.websockets.WebSocket>, java.lang.String, );
descriptor: (Ljava/lang/Iterable;Ljava/lang/String;Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/lang/Iterable<+Lorg/glassfish/grizzly/websockets/WebSocket;>;Ljava/lang/String;Z)V
MethodParameters:
Name Flags
recipients final
data
last
public abstract void broadcastFragment(java.lang.Iterable<? extends org.glassfish.grizzly.websockets.WebSocket>, byte[], );
descriptor: (Ljava/lang/Iterable;[BZ)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/lang/Iterable<+Lorg/glassfish/grizzly/websockets/WebSocket;>;[BZ)V
MethodParameters:
Name Flags
recipients final
data
last
public abstract org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> sendPing(byte[]);
descriptor: ([B)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ([B)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
MethodParameters:
Name Flags
data
public abstract org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> sendPong(byte[]);
descriptor: ([B)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ([B)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
MethodParameters:
Name Flags
data
public abstract org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> stream(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (ZLjava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
MethodParameters:
Name Flags
last
fragment
public abstract org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> stream(boolean, byte[], int, int);
descriptor: (Z[BII)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Z[BII)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
MethodParameters:
Name Flags
last
fragment
off
len
public abstract void close();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void close(int);
descriptor: (I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
code
public abstract void close(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
code
reason
public abstract boolean isConnected();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void onConnect();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void onMessage(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
text
public abstract void onMessage(byte[]);
descriptor: ([B)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
data
public abstract void onFragment(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
last
payload
public abstract void onFragment(boolean, byte[]);
descriptor: (Z[B)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
last
payload
public abstract void onClose(org.glassfish.grizzly.websockets.DataFrame);
descriptor: (Lorg/glassfish/grizzly/websockets/DataFrame;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
frame
public abstract void onPing(org.glassfish.grizzly.websockets.DataFrame);
descriptor: (Lorg/glassfish/grizzly/websockets/DataFrame;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
frame
public abstract void onPong(org.glassfish.grizzly.websockets.DataFrame);
descriptor: (Lorg/glassfish/grizzly/websockets/DataFrame;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
frame
public abstract boolean add(org.glassfish.grizzly.websockets.WebSocketListener);
descriptor: (Lorg/glassfish/grizzly/websockets/WebSocketListener;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
listener
public abstract boolean remove(org.glassfish.grizzly.websockets.WebSocketListener);
descriptor: (Lorg/glassfish/grizzly/websockets/WebSocketListener;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
listener
}
SourceFile: "WebSocket.java"