okhttp3.internal.ws.WebSocketReader.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for connecting to the Relayr Cloud
The newest version!
???? 3 ?
W ? V ? V ? ? ?
? ? V ? V ? V ?
V ? V ?
V ?
V ? V ? ? a
? ? ?
? ?
? ? ? ? ? ?
? ? V ? V ? ? ?
? ? V ? ? ? V ? ~ ? ? ?? ? ? ?
, ? ?
, ?
? ? ?
, ? V ? } ? ? ? ?
8 ? ? ?
? ? ? ? ?
= ?
?
8 ?
8 ? X ? X ? ?
8 ? ?
8 ?
8 ?
? X ? ?
? ? ?
V ? X ? X ?
V ? ????????? ? ? ? ? ?
FrameCallback InnerClasses isClient Z source Lokio/BufferedSource;
frameCallback 3Lokhttp3/internal/ws/WebSocketReader$FrameCallback; closed opcode I frameLength J frameBytesRead isFinalFrame isControlFrame isMasked maskKey [B
maskBuffer L(ZLokio/BufferedSource;Lokhttp3/internal/ws/WebSocketReader$FrameCallback;)V Code LineNumberTable LocalVariableTable this %Lokhttp3/internal/ws/WebSocketReader;
StackMapTable ? ? ? processNextFrame ()V
Exceptions
readHeader b0
timeoutBefore
reservedFlag1
reservedFlag2
reservedFlag3 b1 ? ? readControlFrame toRead read codeExceptionMessage Ljava/lang/String; code reason
bufferSize buffer
Lokio/Buffer; ? readMessageFrame message readUntilNonControlFrame readMessage (Lokio/Buffer;)V sink
SourceFile WebSocketReader.java %okhttp3/internal/ws/WebSocketProtocol m y j k l k java/lang/NullPointerException source == null m ? frameCallback == null [ \ ] ^ _ ` { y h \ ? y ? y a \ java/io/IOException ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? b c g \ java/net/ProtocolException Control frames must be final. Reserved flags are unsupported. i \ &Server-sent frames must not be masked. "Client-sent frames must be masked. d e ? ? ? ? java/lang/StringBuilder Frame length 0x ? ? ? ? ? > 0x7FFFFFFFFFFFFFFF ? ? f e %Control frame must be less than 125B. ? ? okio/Buffer ? ? java/io/EOFException
? $Malformed close payload length of 1. ? Unknown control opcode: ? Unknown opcode: ? ? ? ? y #Expected continuation opcode. Got: ? #okhttp3/internal/ws/WebSocketReader java/lang/Object 1okhttp3/internal/ws/WebSocketReader$FrameCallback okio/BufferedSource java/lang/Throwable java/lang/String (Ljava/lang/String;)V timeout ()Lokio/Timeout; okio/Timeout timeoutNanos ()J clearTimeout readByte ()B java/util/concurrent/TimeUnit NANOSECONDS Ljava/util/concurrent/TimeUnit; 0(JLjava/util/concurrent/TimeUnit;)Lokio/Timeout; readShort ()S readLong append -(Ljava/lang/String;)Ljava/lang/StringBuilder; java/lang/Long toHexString (J)Ljava/lang/String; toString ()Ljava/lang/String; readFully ([B)V (Lokio/Buffer;J)V java/lang/Math min (JJ)J ([BII)I
toggleMask ([BJ[BJ)V write ([BII)Lokio/Buffer; readByteString ()Lokio/ByteString;
onReadPing (Lokio/ByteString;)V
onReadPong size readUtf8 closeCodeExceptionMessage (I)Ljava/lang/String; onReadClose (ILjava/lang/String;)V java/lang/Integer
onReadMessage (Lokio/Buffer;J)J 0 V W [ \ ] ^ _ ` a \ b c d e f e g \ h \ i \ j k l k m n o ? @*? *?? * ?? ,?
? Y? ?-?
? Y? ?*? *,?
*-? ? p &