
classes.io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker13.class Maven / Gradle / Ivy
???? 27
G ?
I ? G ? G ? G ?
G ?
G ?
? ?
? ? ?
?
? ?
? ? ?
? ?
? ? G ? G ? ? ? ? ? ?
G ?
? ? ? ? ? ? ?
? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ?
?
? ? ?
G ?
G ?
? ? ? ? ? ? ? G ?
? ? ? ? ? ? ? ?
? ? ? ?
?
4 ?
? ?
? ? ?
? ? ? ? ?
@ ? ? ?
? ? ?
G ?
B ? ?
E ? ?
? ? ? logger /Lio/netty/util/internal/logging/InternalLogger;
MAGIC_GUID Ljava/lang/String;
ConstantValue expectedChallengeResponseString allowExtensions Z performMasking allowMaskMismatch ?(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;I)V Code LineNumberTable LocalVariableTable this DLio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker13; webSocketURL Ljava/net/URI; version 9Lio/netty/handler/codec/http/websocketx/WebSocketVersion; subprotocol
customHeaders )Lio/netty/handler/codec/http/HttpHeaders; maxFramePayloadLength I ?(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;IZZ)V newHandshakeRequest /()Lio/netty/handler/codec/http/FullHttpRequest; wsURL path nonce [B key
acceptSeed sha1 wsPort host request -Lio/netty/handler/codec/http/FullHttpRequest; headers expectedSubprotocol
StackMapTable ? ? ? j ? ? verify 1(Lio/netty/handler/codec/http/FullHttpResponse;)V response .Lio/netty/handler/codec/http/FullHttpResponse; status 0Lio/netty/handler/codec/http/HttpResponseStatus; upgrade Ljava/lang/CharSequence; accept ? ? newWebsocketDecoder @()Lio/netty/handler/codec/http/websocketx/WebSocketFrameDecoder; newWebSocketEncoder @()Lio/netty/handler/codec/http/websocketx/WebSocketFrameEncoder; ()V
SourceFile WebSocketClientHandshaker13.java T d T ? P Q R Q S Q ? ? ? ? ? ? ? ? ? java/lang/StringBuilder T ? ? ? $258EAFA5-E914-47DA-95CA-C5AB0DC85B11 ? ? ? ? ? ? ? ? m ? O M J K ? ? ? DWebSocket version 13 client handshake key: {}, expected response: {} ? ? 2io/netty/handler/codec/http/DefaultFullHttpRequest
T ? r
? ? ? s ? ? 13 ` a ? ?! "#$ Bio/netty/handler/codec/http/websocketx/WebSocketHandshakeException &Invalid handshake response getStatus: ?% T&'()*+ $Invalid handshake response upgrade: ,- 'Invalid handshake response connection: . +Invalid challenge. Actual: %s. Expected: %s java/lang/Object/0 >io/netty/handler/codec/http/websocketx/WebSocket13FrameDecoder b1 T2 >io/netty/handler/codec/http/websocketx/WebSocket13FrameEncoder T3 Bio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker13456 @io/netty/handler/codec/http/websocketx/WebSocketClientHandshaker java/net/URI java/lang/String +io/netty/handler/codec/http/FullHttpRequest 'io/netty/handler/codec/http/HttpHeaders .io/netty/handler/codec/http/HttpResponseStatus java/lang/CharSequence ?(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;Lio/netty/handler/codec/http/HttpHeaders;I)V uri ()Ljava/net/URI; rawPath "(Ljava/net/URI;)Ljava/lang/String; 4io/netty/handler/codec/http/websocketx/WebSocketUtil randomBytes (I)[B base64 ([B)Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; io/netty/util/CharsetUtil US_ASCII Ljava/nio/charset/Charset; getBytes (Ljava/nio/charset/Charset;)[B ([B)[B -io/netty/util/internal/logging/InternalLogger isDebugEnabled ()Z debug 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
websocketPort (Ljava/net/URI;)I getHost 'io/netty/handler/codec/http/HttpVersion HTTP_1_1 )Lio/netty/handler/codec/http/HttpVersion; &io/netty/handler/codec/http/HttpMethod GET (Lio/netty/handler/codec/http/HttpMethod; f(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpMethod;Ljava/lang/String;)V +()Lio/netty/handler/codec/http/HttpHeaders; +io/netty/handler/codec/http/HttpHeaderNames UPGRADE Lio/netty/util/AsciiString; ,io/netty/handler/codec/http/HttpHeaderValues WEBSOCKET add U(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
CONNECTION SEC_WEBSOCKET_KEY HOST (C)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; SEC_WEBSOCKET_ORIGIN websocketOriginValue -(Ljava/lang/String;I)Ljava/lang/CharSequence; isEmpty SEC_WEBSOCKET_PROTOCOL SEC_WEBSOCKET_VERSION T(Lio/netty/handler/codec/http/HttpHeaders;)Lio/netty/handler/codec/http/HttpHeaders; SWITCHING_PROTOCOLS ,io/netty/handler/codec/http/FullHttpResponse 2()Lio/netty/handler/codec/http/HttpResponseStatus; equals (Ljava/lang/Object;)Z -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (Ljava/lang/String;)V get ,(Ljava/lang/CharSequence;)Ljava/lang/String; io/netty/util/AsciiString contentEqualsIgnoreCase (Ljava/lang/CharSequence;)Z
containsValue 4(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z SEC_WEBSOCKET_ACCEPT format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; ()I (ZZIZ)V (Z)V 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger; ! G I J K L M N
O M P Q R Q S Q T U V z *+,-? ? W
G H X H Y Z [ \ ] ^ _ M P Q ` a b c T d V ? *+,-? *? *? *? ? W e f g h i X \ Y Z [ \ ] ^ _ M P Q ` a b c R Q S Q e f V > *? L+? M? N-? :?
Y? ?
? ? :? ? ? :*? ? ? ? ? ? *? ? +? 6+? :? Y? ? ,? : ? :
? ? ? ? !? "? ? #? ? $?
Y? ? :? %? &? ? ? '? (? W*? ):? ? *?
? +? W
? ,-? W*? .?
*? .? /W ? W V ? ?
? ? ? , ? 9 ? B ? M ? ] ? c ? i ? y ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? X z Y Z g \
? h M ? i j ? k M , ? l M 9 ? m j c ? n c i ? o M y ? p q ? ? r a
? 7 s M t H ? ] u v w x w w x ? ? u v w x w w x w y z w { | V z ϲ 0M+? 1 N+? 2 ,? 3? #? 4Y?
Y? 5? +? 2 ? 6? ? 7?-? ? 8:? ? 9? ? 4Y?
Y? :? ? 6? ? 7?-? !? "? ;? $? 4Y?
Y?